diff options
author | 2016-04-18 11:44:49 +0300 | |
---|---|---|
committer | 2016-04-18 13:40:08 -0400 | |
commit | 110361f41c17d1f565e2fd03a0af044c29e6513a (patch) | |
tree | a8dd122b317c38b621abf95a031f90d3fc84c0e1 /include | |
parent | rtnetlink: rtnl_fill_stats: avoid an unnecssary stats copy (diff) | |
download | wireguard-linux-110361f41c17d1f565e2fd03a0af044c29e6513a.tar.xz wireguard-linux-110361f41c17d1f565e2fd03a0af044c29e6513a.zip |
udp: fix if statement in SIOCINQ ioctl
We deleted a line of code and accidentally made the "return put_user()"
part of the if statement when it's supposed to be unconditional.
Fixes: 9f9a45beaa96 ('udp: do not expect udp headers on ioctl SIOCINQ')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions