tmp_suning_uos_patched/drivers/net
Nir Dotan caebd1b389 mlxsw: core_acl_flex_actions: Remove redundant mirror resource destruction
In previous patch mlxsw_afa_resource_del() was added to avoid a duplicate
resource detruction scenario.
For mirror actions, such duplicate destruction leads to a crash as in:

 # tc qdisc add dev swp49 ingress
 # tc filter add dev swp49 parent ffff: \
   protocol ip chain 100 pref 10 \
   flower skip_sw dst_ip 192.168.101.1 action drop
 # tc filter add dev swp49 parent ffff: \
   protocol ip pref 10 \
   flower skip_sw dst_ip 192.168.101.1 action goto chain 100 \
   action mirred egress mirror dev swp4

Therefore add a call to mlxsw_afa_resource_del() in
mlxsw_afa_mirror_destroy() in order to clear that resource
from rule's resources.

Fixes: d0d13c1858 ("mlxsw: spectrum_acl: Add support for mirror action")
Signed-off-by: Nir Dotan <nird@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-08-03 12:28:01 -07:00
..
appletalk
arcnet
bonding bonding: avoid lockdep confusion in bond_get_stats() 2018-08-01 09:34:07 -07:00
caif
can can: ems_usb: Fix memory leak on ems_usb_disconnect() 2018-07-30 11:04:27 +02:00
dsa net: dsa: mv88e6xxx: Fix SERDES support on 88E6141/6341 2018-07-31 10:36:59 -07:00
ethernet mlxsw: core_acl_flex_actions: Remove redundant mirror resource destruction 2018-08-03 12:28:01 -07:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Fix napi reschedule while receive completion is busy 2018-07-18 15:23:30 -07:00
ieee802154 net: ieee802154: adf7242: Fix OCL calibration runs 2018-07-09 10:53:12 +02:00
ipvlan ipvlan: call dev_change_flags when ipvlan mode is reset 2018-07-02 20:38:09 +09:00
netdevsim netdevsim: don't leak devlink resources 2018-07-25 22:33:39 -07:00
phy net: mdio-mux: bcm-iproc: fix wrong getter and setter pair 2018-07-28 19:07:38 -07:00
plip
ppp Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLL 2018-06-28 10:40:47 -07:00
slip
team
usb net: lan78xx: fix rx handling before first packet is send 2018-07-28 14:29:49 -07:00
vmxnet3
wan drivers: net: lmc: fix case value for target abort error 2018-08-02 14:41:43 -07:00
wimax
wireless brcmfmac: fix regression in parsing NVRAM for multiple devices 2018-07-25 10:30:36 +03:00
xen-netback
dummy.c
eql.c
geneve.c net: fix use-after-free in GRO with ESP 2018-07-02 20:34:04 +09:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c
tun.c tun: Fix use-after-free on XDP_TX 2018-07-16 13:38:29 -07:00
veth.c
virtio_net.c virtio_net: Fix incosistent received bytes counter 2018-07-25 12:58:25 -07:00
vrf.c
vsockmon.c
vxlan.c vxlan: fix default fdb entry netlink notify ordering during netdev create 2018-07-22 10:52:37 -07:00
xen-netfront.c xen-netfront: wait xenbus state change when load module manually 2018-07-30 09:40:19 -07:00