Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udp: do not expect udp headers on ioctl SIOCINQ
On udp sockets, ioctl SIOCINQ returns the payload size of the first packet. Since commit e6afc8a pulled the headers, the result is incorrect when subtracting header length. Remove that operation. Fixes: e6afc8a ("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>
- Loading branch information