diff options
author | 2017-03-31 14:59:25 -0700 | |
---|---|---|
committer | 2017-04-02 19:34:55 -0700 | |
commit | d3fbff306c215946cdbcf9ace4d0b78e9f72b5c4 (patch) | |
tree | b95dadd63a823008c3591a57b6de9aa1d89e4b8d /net/unix/sysctl_net_unix.c | |
parent | drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c: fix build with gcc-4.4.4 (diff) | |
download | wireguard-linux-d3fbff306c215946cdbcf9ace4d0b78e9f72b5c4.tar.xz wireguard-linux-d3fbff306c215946cdbcf9ace4d0b78e9f72b5c4.zip |
sock: correctly test SOCK_TIMESTAMP in sock_recv_ts_and_drops()
It seems the code does not match the intent.
This broke packetdrill, and probably other programs.
Fixes: 6c7c98bad488 ("sock: avoid dirtying sk_stamp, if possible")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Paolo Abeni <pabeni@redhat.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions