diff options
author | 2020-05-06 15:58:30 +0200 | |
---|---|---|
committer | 2020-05-06 14:34:38 -0700 | |
commit | 29ca3cdfe13b2792b8624e6f769777e8cb387f9c (patch) | |
tree | dad89c90cf9a6cab6b2243e9566dcc55964c3738 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: mvpp2: cls: Prevent buffer overflow in mvpp2_ethtool_cls_rule_del() (diff) | |
download | linux-dev-29ca3cdfe13b2792b8624e6f769777e8cb387f9c.tar.xz linux-dev-29ca3cdfe13b2792b8624e6f769777e8cb387f9c.zip |
net: macsec: fix rtnl locking issue
netdev_update_features() must be called with the rtnl lock taken. Not
doing so triggers a warning, as ASSERT_RTNL() is used in
__netdev_update_features(), the first function called by
netdev_update_features(). Fix this.
Fixes: c850240b6c41 ("net: macsec: report real_dev features when HW offloading is enabled")
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions