summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@mellanox.com>2016-11-22 15:20:39 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-24 02:18:36 +0100
commitb6e01232e25629907df9db19f25da7d4e8f5b589 (patch)
tree433ccf3351703fdd9c45335f72a3a4148d7d594c /net
parentnet: revert "net: l2tp: Treat NET_XMIT_CN as success in l2tp_eth_dev_xmit" (diff)
downloadlinux-b6e01232e25629907df9db19f25da7d4e8f5b589.tar.xz
linux-b6e01232e25629907df9db19f25da7d4e8f5b589.zip
net/mlx4_en: Free netdev resources under state lock
Make sure mlx4_en_free_resources is called under the netdev state lock. This is needed since RCU dereference of XDP prog should be protected. Fixes: 326fe02d1ed6 ("net/mlx4_en: protect ring->xdp_prog with rcu_read_lock") Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Reported-by: Sagi Grimberg <sagi@grimberg.me> CC: Brenden Blanco <bblanco@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions