mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
udp: do not expect udp headers on ioctl SIOCINQ
On udp sockets, ioctl SIOCINQ returns the payload size of the first packet. Since commite6afc8ace6pulled the headers, the result is incorrect when subtracting header length. Remove that operation. Fixes:e6afc8ace6("udp: remove headers from UDP packets before queueing") Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
99717bdfdb
commit
9f9a45beaa
1 changed files with 0 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue