Re: [PATCH net] udp6: fix jumbogram reception

2017-07-31 Thread David Miller
From: Paolo Abeni Date: Mon, 31 Jul 2017 16:52:36 +0200 > Since commit 67a51780aebb ("ipv6: udp: leverage scratch area > helpers") udp6_recvmsg() read the skb len from the scratch area, > to avoid a cache miss. > But the UDP6 rx path support RFC 2675 UDPv6 jumbograms, and their > length exceeds t

[PATCH net] udp6: fix jumbogram reception

2017-07-31 Thread Paolo Abeni
Since commit 67a51780aebb ("ipv6: udp: leverage scratch area helpers") udp6_recvmsg() read the skb len from the scratch area, to avoid a cache miss. But the UDP6 rx path support RFC 2675 UDPv6 jumbograms, and their length exceeds the 16 bits available in the scratch area. As a side effect the lengt