Thread (2 messages) read the whole thread 2 messages, 2 authors, 2011-06-13

Re: [PATCH net-next-2.6] l2tp: fix l2tp_ip_sendmsg() route handling

From: David Miller <davem@davemloft.net>
Date: 2011-06-13 21:32:09

From: Eric Dumazet <redacted>
Date: Sun, 12 Jun 2011 10:27:09 +0200
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 <redacted>
CC: James Chapman <jchapman@katalix.com>
Applied, thanks Eric.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help