commit | 9f9a45beaa96188085d52d273c2ecb052c7d8d27 | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Thu Apr 07 18:12:58 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 13 22:24:52 2016 -0400 |
tree | a1f2b887720607b10c94a7fcf79c3fd2a8045dfb | |
parent | 99717bdfdbeaaf387ba6ecbf7eba7fbb7a47e50a [diff] |
udp: do not expect udp headers on ioctl SIOCINQ On udp sockets, ioctl SIOCINQ returns the payload size of the first packet. Since commit e6afc8ace6dd pulled the headers, the result is incorrect when subtracting header length. Remove that operation. Fixes: e6afc8ace6dd ("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>