Files
erofs-linux/net/dccp
Eric Dumazet b0270e9101 ipv4: add a sock pointer to ip_queue_xmit()
ip_queue_xmit() assumes the skb it has to transmit is attached to an
inet socket. Commit 31c70d5956 ("l2tp: keep original skb ownership")
changed l2tp to not change skb ownership and thus broke this assumption.

One fix is to add a new 'struct sock *sk' parameter to ip_queue_xmit(),
so that we do not assume skb->sk points to the socket used by l2tp
tunnel.

Fixes: 31c70d5956 ("l2tp: keep original skb ownership")
Reported-by: Zhan Jianyu <[email protected]>
Tested-by: Zhan Jianyu <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2014-04-15 12:58:34 -04:00
..
2014-02-16 23:45:00 -05:00
…
…
2014-01-04 20:18:49 -05:00
…
…
…
…
…
2014-01-04 20:18:49 -05:00
…
…
…
…