https://github.com/torvalds/linux
Revision b1312c89f0016f778cac4f1536f1434e132f8713 authored by Timo Teräs on 24 June 2010, 21:35:00 UTC, committed by David S. Miller on 24 June 2010, 21:35:00 UTC
Fix the bundle validation code to not assume having a valid policy.
When we have multiple transformations for a xfrm policy, the bundle
instance will be a chain of bundles with only the first one having
the policy reference. When policy_genid is bumped it will expire the
first bundle in the chain which is equivalent of expiring the whole
chain.

Reported-bisected-and-tested-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 38000a9
History
Tip revision: b1312c89f0016f778cac4f1536f1434e132f8713 authored by Timo Teräs on 24 June 2010, 21:35:00 UTC
xfrm: check bundle policy existance before dereferencing it
Tip revision: b1312c8
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 930 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 169.6 KB
Makefile -rw-r--r-- 51.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top