Files
linux/net
Antoine Tenart 4ae2bb8164 net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc
Accesses to dev->xps_rxqs_map (when using dev->num_tc) should be
protected by the rtnl lock, like we do for netif_set_xps_queue. I didn't
see an actual bug being triggered, but let's be safe here and take the
rtnl lock while accessing the map in sysfs.

Fixes: 8af2c06ff4 ("net-sysfs: Add interface for Rx queue(s) map per Tx queue")
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-12-28 13:26:46 -08:00
..
2020-10-30 11:43:42 -07:00
2020-10-30 11:34:09 -07:00
2020-12-17 10:24:47 -08:00
2020-11-17 15:22:06 -04:00
2020-11-23 17:44:11 -08:00
2020-10-29 19:27:45 +01:00
2020-10-29 19:27:45 +01:00