]> 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)
commitf1b0743d94dc02c62e4bdf6c7fbe7508236eb4fb
treeff84943f8c480deb208fba4b768e911f0c1090bf
parent4cbcf1c9c78c19e0cc7dcaea93f0162ed70f7520
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