android_kernel_google_msm/net/l2tp
Eric Dumazet 4ffa79bd26 l2tp: fix a race in l2tp_ip_sendmsg()
[ Upstream commit 4399a4df98 ]

Commit 081b1b1bb2 (l2tp: fix l2tp_ip_sendmsg() route handling) added
a race, in case IP route cache is disabled.

In this case, we should not do the dst_release(&rt->dst), since it'll
free the dst immediately, instead of waiting a RCU grace period.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: James Chapman <jchapman@katalix.com>
Cc: Denys Fedoryshchenko <denys@visp.net.lb>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-16 09:03:45 -07:00
..
Kconfig
l2tp_core.c l2tp: ensure sk->dst is still valid 2011-11-26 15:57:36 -05:00
l2tp_core.h
l2tp_debugfs.c fix return values of l2tp_dfs_seq_open() 2011-06-05 14:11:09 -07:00
l2tp_eth.c net: l2tp_eth: fix kernel panic on rmmod l2tp_eth 2012-07-16 09:03:45 -07:00
l2tp_ip.c l2tp: fix a race in l2tp_ip_sendmsg() 2012-07-16 09:03:45 -07:00
l2tp_netlink.c l2tp: Fix set-but-unused variables. 2011-04-17 17:01:05 -07:00
l2tp_ppp.c l2tp: enable automatic module loading for l2tp_ppp 2012-03-21 22:14:56 -04:00
Makefile