diff options
author | Li RongQing <lirongqing@baidu.com> | 2019-06-20 19:24:40 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-22 16:55:36 -0700 |
commit | b272a0ad730103e84fb735fd0a8cc050cdf7f77c (patch) | |
tree | c336e6cab223986760b3ca4a6b52b93444865fcd /drivers/net/ethernet/mediatek/mtk_eth_soc.c | |
parent | 9eee3b4913d734b2c2496ddeea625d5b56583757 (diff) | |
download | linux-stable-b272a0ad730103e84fb735fd0a8cc050cdf7f77c.tar.gz linux-stable-b272a0ad730103e84fb735fd0a8cc050cdf7f77c.tar.bz2 linux-stable-b272a0ad730103e84fb735fd0a8cc050cdf7f77c.zip |
netns: restore ops before calling ops_exit_list
ops has been iterated to first element when call pre_exit, and
it needs to restore from save_ops, not save ops to save_ops
Fixes: d7d99872c144 ("netns: add pre_exit method to struct pernet_operations")
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.c')
0 files changed, 0 insertions, 0 deletions