diff options
| author | Eugenia Emantayev <eugenia@mellanox.com> | 2016-02-17 17:24:27 +0200 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-03-08 12:15:42 +0000 |
| commit | 7fb031c0203f873d2794bcc4faeb59c7783a2564 (patch) | |
| tree | a19c5226a395ff42858ac8c05ce550b4d53b353e /include/uapi/linux/string.h | |
| parent | 327cdd509651bf0b901ae51c55f6dac562417371 (diff) | |
net/mlx4_en: Avoid changing dev->features directly in run-time
commit 925ab1aa9394bbaeac47ee5b65d3fdf0fb8135cf upstream.
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>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/uapi/linux/string.h')
0 files changed, 0 insertions, 0 deletions
