summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_state.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-03-21 18:16:39 -0700
committerDavid S. Miller <davem@davemloft.net>2011-03-21 18:16:39 -0700
commit674f2115995b7b588cbf3540c9f9b2448a8c7ea8 (patch)
treebd9bd1afa880531f6de70bea970aa198924f8632 /net/ipv4/xfrm4_state.c
parent20246a800389fe5442675c59863fec5a4f520c7c (diff)
downloadlinux-674f2115995b7b588cbf3540c9f9b2448a8c7ea8.tar.gz
linux-674f2115995b7b588cbf3540c9f9b2448a8c7ea8.tar.bz2
linux-674f2115995b7b588cbf3540c9f9b2448a8c7ea8.zip
ipx: fix ipx_release()
Commit b0d0d915d1d1a0 (remove the BKL) added a regression, because sock_put() can free memory while we are going to use it later. Fix is to delay sock_put() _after_ release_sock(). Reported-by: Ingo Molnar <mingo@elte.hu> Tested-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_state.c')
0 files changed, 0 insertions, 0 deletions