summaryrefslogtreecommitdiffstats
path: root/net/sctp/bind_addr.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-06-24 23:35:00 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-24 23:35:00 +0200
commitb1312c89f0016f778cac4f1536f1434e132f8713 (patch)
tree6cec9bc88430cf30f8409b8b607d2b6a6d2fd118 /net/sctp/bind_addr.c
parentsky2: enable rx/tx in sky2_phy_reinit() (diff)
downloadlinux-b1312c89f0016f778cac4f1536f1434e132f8713.tar.xz
linux-b1312c89f0016f778cac4f1536f1434e132f8713.zip
xfrm: check bundle policy existance before dereferencing it
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>
Diffstat (limited to 'net/sctp/bind_addr.c')
0 files changed, 0 insertions, 0 deletions