Skip to content
Commit c64a73d5 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'udp-pull'



Willem de Bruijn says:

====================
net: fix udp pull header breakage

Commit e6afc8ac ("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).
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents a6db4494 4d0fc73e
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