fix udp pull header breakage
Get series with b4
b4 am 1460043899-56894-1-git-send-email-willemdebruijn.kernel@gmail.comVersions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sunrpc: do not pull udp headers on receivenet/ net/ net/ | +5 | 1 reply | |
| 2/2 | rxrpc: do not pull udp headers on receivenet/ | +2 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Thierry Reding |
|---|---|
| 1/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/2] fix udp pull header breakage
From: Willem de Bruijn <[email protected]>
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(-)
Signature · 1 line
2.8.0.rc3.226.g39d4020