aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-06-08 06:25:00 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-08 14:30:51 -0700
commit4399a4df98a63e30fd16e9d0cecc46ea92269e8f (patch)
tree6068b48be8fe07b2501a849b152436c42106650d /drivers/net/ethernet
parentRevert "niu: Add support for byte queue limits." (diff)
downloadlinux-dev-4399a4df98a63e30fd16e9d0cecc46ea92269e8f.tar.xz
linux-dev-4399a4df98a63e30fd16e9d0cecc46ea92269e8f.zip
l2tp: fix a race in l2tp_ip_sendmsg()
Commit 081b1b1bb27f (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>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions