]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'udp-pull'
authorDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:31:34 +0000 (15:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2016 19:31:34 +0000 (15:31 -0400)
commitb515933a1be6ae1bdc3ecd18a160f1fe353eee80
treea36049a8905dbcbbd5e047e47d48682a1d9c7fef
parentf596ce6f4c9ef48e4fb9cc7d49b83657d909acee
parentdd655828ac240f1ca9d1cfb50216e9767924cbd0
Merge branch 'udp-pull'

Willem de Bruijn says:

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

Commit 44fa15a2618b ("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: David S. Miller <davem@davemloft.net>