diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2016-02-17 17:24:27 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-03-04 10:25:51 -0500 |
commit | 29d526aca29faa3236c9787c2512c5ba4c82092a (patch) | |
tree | e11e7aab5772b9f66b6dceefccb9f3bd3363e67d /fs/jbd/commit.c | |
parent | 5c72a2dd6fedf29368fa67b15c7c076dd93cf3dd (diff) |
net/mlx4_en: Avoid changing dev->features directly in run-time
[ Upstream commit 925ab1aa9394bbaeac47ee5b65d3fdf0fb8135cf ]
It's forbidden to manually change dev->features in run-time. Currently, this is
done in the driver to make sure that GSO_UDP_TUNNEL is advertized only when
VXLAN tunnel is set. However, since the stack actually does features intersection
with hw_enc_features, we can safely revert to advertizing features early when
registering the netdevice.
Fixes: f4a1edd56120 ('net/mlx4_en: Advertize encapsulation offloads [...]')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions