diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-06-11 22:27:09 +0000 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-13 17:31:30 -0400 |
commit | 081b1b1bb27f1f4a3b682f4cf75103108f2066d7 (patch) | |
tree | 6b46eac808fe4292bff144ff0b5e6461ef957810 /drivers/clocksource | |
parent | ec1d7c9a5e9c136e08a9b1df3109ad5d38d8179c (diff) | |
download | op-kernel-dev-081b1b1bb27f1f4a3b682f4cf75103108f2066d7.zip op-kernel-dev-081b1b1bb27f1f4a3b682f4cf75103108f2066d7.tar.gz |
l2tp: fix l2tp_ip_sendmsg() route handling
l2tp_ip_sendmsg() in non connected mode incorrectly calls
sk_setup_caps(). Subsequent send() calls send data to wrong destination.
We can also avoid changing dst refcount in connected mode, using
appropriate rcu locking. Once output route lookups can also be done
under rcu, sendto() calls wont change dst refcounts too.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions