diff options
author | Eric Dumazet <[email protected]> | 2012-06-08 06:25:00 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-06-08 14:30:51 -0700 |
commit | 4399a4df98a63e30fd16e9d0cecc46ea92269e8f (patch) | |
tree | 6068b48be8fe07b2501a849b152436c42106650d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6a2b28ef036ab5c66fdc606fe97d9e5cb34ea409 (diff) |
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 <[email protected]>
Cc: James Chapman <[email protected]>
Cc: Denys Fedoryshchenko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions