]> git.baikalelectronics.ru Git - kernel.git/commit
net: skb_condense() can also deal with empty skbs
authorEric Dumazet <edumazet@google.com>
Fri, 9 Dec 2016 16:02:05 +0000 (08:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Dec 2016 04:06:10 +0000 (23:06 -0500)
commitd760a46f24967bf23f216afdd0e2d945c9773725
tree57b6f56d50fe1329c2f93b91921ca59940107def
parent6fb0c9bf6a592902fb8468ec0f5a11c29d1e196e
net: skb_condense() can also deal with empty skbs

It seems attackers can also send UDP packets with no payload at all.

skb_condense() can still be a win in this case.

It will be possible to replace the custom code in tcp_add_backlog()
to get full benefit from skb_condense()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c