]> 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)
commit4dc43b0af0ec744e247414a2903ad9cc3f216f61
treea36049a8905dbcbbd5e047e47d48682a1d9c7fef
parent372c9ef1123bce6e7796d861ac10085aba0e545c
parent0cdbbf182501b79510081f6b234931b58d20f7f3
Merge branch 'udp-pull'

Willem de Bruijn says:

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

Commit f1b0743d94dc ("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>