]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: keep original skb ownership
authorEric Dumazet <edumazet@google.com>
Thu, 6 Mar 2014 02:19:34 +0000 (18:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Mar 2014 19:37:55 +0000 (14:37 -0500)
commit675904a9cbf25dd3eb9913da8c07715ef4e0a4a1
tree7a63e4de80e41654006eb1bc2e61033ac4c2f47a
parent52408e275e2700ab32c1676d18419b31f0fb370f
l2tp: keep original skb ownership

There is no reason to orphan skb in l2tp.

This breaks things like per socket memory limits, TCP Small queues...

Fix this before more people copy/paste it.

This is very similar to commit 47698463362c5
("vxlan: keep original skb ownership")

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c