Files
linux/drivers
Inbar Karmy 5b5be45ed1 net/mlx5e: Fix loopback self test when GRO is off
[ Upstream commit ef7a3518f7 ]

When GRO is off, the transport header pointer in sk_buff is
initialized to network's header.

To find the udp header, instead of using udp_hdr() which assumes
skb_network_header was set, manually calculate the udp header offset.

Fixes: 0952da791c ("net/mlx5e: Add support for loopback selftest")
Signed-off-by: Inbar Karmy <inbark@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-08 22:41:13 -08:00
..
2018-02-25 11:07:52 +01:00
2017-12-14 09:53:13 +01:00
2018-02-25 11:07:57 +01:00
2018-02-25 11:07:55 +01:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00