Skip to content
Commit 1da8c681 authored by Willem de Bruijn's avatar Willem de Bruijn Committed by David S. Miller
Browse files

sunrpc: do not pull udp headers on receive

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

Sunrpc 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: e6afc8ac

 ("udp: remove headers from UDP packets before queueing")

Reported-by: default avatarFranklin S Cooper Jr. <fcooper@ti.com>
Signed-off-by: default avatarWillem de Bruijn <willemb@google.com>
Tested-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a6db4494
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment