[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1460043899-56894-1-git-send-email-willemdebruijn.kernel@gmail.com>
Date: Thu, 7 Apr 2016 11:44:57 -0400
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, fcooper@...com, samanthakumar@...gle.com,
Willem de Bruijn <willemb@...gle.com>
Subject: [PATCH net-next 0/2] fix udp pull header breakage
From: Willem de Bruijn <willemb@...gle.com>
Commit e6afc8ace6dd ("udp: remove headers from UDP packets before
queueing") modified udp receive processing to pull headers before
enqueue and to not expect them on dequeue.
The patch missed protocols on top of udp with in-kernel
implementations that have their own skb_recv_datagram calls and
dequeue logic. Modify these datapaths to also no longer expect
a udp header at skb->data.
Sunrpc and rxrpc are the only two protocols that call this
function and contain references to udphr (some others, like tipc,
are based on encap_rcv, which acts before enqueue, before the
the header pull).
Willem de Bruijn (2):
sunrpc: do not pull udp headers on receive
rxrpc: do not pull udp headers on receive
net/rxrpc/ar-input.c | 4 ++--
net/sunrpc/socklib.c | 2 +-
net/sunrpc/svcsock.c | 5 ++---
net/sunrpc/xprtsock.c | 5 ++---
4 files changed, 7 insertions(+), 9 deletions(-)
--
2.8.0.rc3.226.g39d4020
Powered by blists - more mailing lists