summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorTimo Teräs2010-07-12 23:29:42 +0200
committerDavid S. Miller2010-07-14 23:16:48 +0200
commitd809ec895505e6f35fb1965f0946381ab4eaa474 (patch)
tree479a8937a4fd736ed5db9d87bb3ff81ee60f5cd5 /net/ipv4/tcp.c
parentaxnet_cs: use spin_lock_irqsave in ax_interrupt (diff)
downloadkernel-qcow2-linux-d809ec895505e6f35fb1965f0946381ab4eaa474.tar.gz
kernel-qcow2-linux-d809ec895505e6f35fb1965f0946381ab4eaa474.tar.xz
kernel-qcow2-linux-d809ec895505e6f35fb1965f0946381ab4eaa474.zip
xfrm: do not assume that template resolving always returns xfrms
xfrm_resolve_and_create_bundle() assumed that, if policies indicated presence of xfrms, bundle template resolution would always return some xfrms. This is not true for 'use' level policies which can result in no xfrm's being applied if there is no suitable xfrm states. This fixes a crash by this incorrect assumption. Reported-by: George Spelvin <linux@horizon.com> Bisected-by: George Spelvin <linux@horizon.com> Tested-by: George Spelvin <linux@horizon.com> Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions