summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorOr Gerlitz2014-07-02 16:36:23 +0200
committerDavid S. Miller2014-07-08 06:39:18 +0200
commite326f2f13b209d56782609e833b87cb497e64b3b (patch)
tree4771000f39beaa38c937e9dd23485eaa5ff7a8ae /net/ipv4/tcp_output.c
parentigmp: fix the problem when mc leave group (diff)
downloadkernel-qcow2-linux-e326f2f13b209d56782609e833b87cb497e64b3b.tar.gz
kernel-qcow2-linux-e326f2f13b209d56782609e833b87cb497e64b3b.tar.xz
kernel-qcow2-linux-e326f2f13b209d56782609e833b87cb497e64b3b.zip
net/mlx4_en: Don't configure the HW vxlan parser when vxlan offloading isn't set
The add_vxlan_port ndo driver code was wrongly testing whether HW vxlan offloads are supported by the device instead of checking if they are currently enabled. This causes the driver to configure the HW parser to conduct matching for vxlan packets but since no steering rules were set, vxlan packets are dropped on RX. Fix that by doing the right test, as done in the del_vxlan_port ndo handler. Fixes: 1b136de ('net/mlx4: Implement vxlan ndo calls') Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions