diff options
author | Maxim Mikityanskiy <maximmi@mellanox.com> | 2019-02-21 12:40:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-22 12:55:32 -0800 |
commit | 3517dfe6f23608951044cbfc833fa108603441fa (patch) | |
tree | fb2f6a96371dba4b8d0cf9aac18571d8a9447be4 /net/sched/cls_basic.c | |
parent | 6437866e493fa5aa5be03dfb94e1d686a7fc984b (diff) | |
download | linux-3517dfe6f23608951044cbfc833fa108603441fa.tar.gz linux-3517dfe6f23608951044cbfc833fa108603441fa.tar.bz2 linux-3517dfe6f23608951044cbfc833fa108603441fa.zip |
net/mlx5e: Remove the wrong assumption about transport offset
skb_transport_offset() == 0 is not a special value. The only special
value is when skb->transport_header is ~0U, and it's checked by
skb_transport_header_was_set().
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions