diff options
author | Jiri Pirko | 2017-12-06 09:41:12 +0100 |
---|---|---|
committer | David S. Miller | 2017-12-06 21:11:17 +0100 |
commit | 9454d9307e05989bc5dd50c023acd51d632fe6f9 (patch) | |
tree | 760e31e40fe9626e80c2b8df7b1ca8cb3aaaceff /security/inode.c | |
parent | tun: avoid unnecessary READ_ONCE in tun_net_xmit (diff) | |
download | kernel-qcow2-linux-9454d9307e05989bc5dd50c023acd51d632fe6f9.tar.gz kernel-qcow2-linux-9454d9307e05989bc5dd50c023acd51d632fe6f9.tar.xz kernel-qcow2-linux-9454d9307e05989bc5dd50c023acd51d632fe6f9.zip |
mlxsw: spectrum: handle NETIF_F_HW_TC changes correctly
Currently, whenever the NETIF_F_HW_TC feature changes, we silently
always allow it, but we actually do not disable the flows in HW
on disable. That breaks user's expectations. So just forbid
the feature disable in case there are any filters offloaded.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/inode.c')
0 files changed, 0 insertions, 0 deletions