sunrpc: do not pull udp headers on receive
authorWillem de Bruijn <willemb@google.com>
Thu, 7 Apr 2016 15:44:58 +0000 (11:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:31:33 +0000 (15:31 -0400)
commit1da8c681d5c122afe9fbadc02e92a0f9e3f7af44
tree16d382daa5ef48f18f4afe6b0766d35a5a5f45b0
parenta6db4494d218c2e559173661ee972e048dc04fdd
sunrpc: do not pull udp headers on receive

Commit e6afc8ace6dd 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: e6afc8ace6dd ("udp: remove headers from UDP packets before queueing")
Reported-by: Franklin S Cooper Jr. <fcooper@ti.com>
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/sunrpc/socklib.c
net/sunrpc/svcsock.c
net/sunrpc/xprtsock.c