]> git.baikalelectronics.ru Git - kernel.git/commit
udp: remove headers from UDP packets before queueing
authorsamanthakumar <samanthakumar@google.com>
Tue, 5 Apr 2016 16:41:15 +0000 (12:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 20:29:37 +0000 (16:29 -0400)
commite6afc8ace6dd5cef5e812f26c72579da8806f5ac
treeff84943f8c480deb208fba4b768e911f0c1090bf
parentb9bb53f3836f4eb2bdeb3447be11042bd29c2408
udp: remove headers from UDP packets before queueing

Remove UDP transport headers before queueing packets for reception.
This change simplifies a follow-up patch to add MSG_PEEK support.

Signed-off-by: Sam Kumar <samanthakumar@google.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
include/net/udp.h
net/core/sock.c
net/ipv4/udp.c
net/ipv6/udp.c