]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: do not pull udp headers on receive
authorWillem de Bruijn <willemb@google.com>
Thu, 7 Apr 2016 15:44:59 +0000 (11:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:31:33 +0000 (15:31 -0400)
commitdd655828ac240f1ca9d1cfb50216e9767924cbd0
treea36049a8905dbcbbd5e047e47d48682a1d9c7fef
parent71d38abe137a8adeb5f856716d1c1d91b0105b17
rxrpc: do not pull udp headers on receive

Commit 44fa15a2618b modified the udp receive path by pulling the udp
header before queuing an skbuff onto the receive queue.

Rxrpc also calls skb_recv_datagram to dequeue an skb from a udp
socket. Modify this receive path to also no longer expect udp
headers.

Fixes: 44fa15a2618b ("udp: remove headers from UDP packets before queueing")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-input.c