Skip to content

Commit

Permalink
fixup! Allow specific Lua script to be run in xdp enviroment
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorNogueiraRio committed Jun 25, 2019
1 parent b342442 commit b7e38c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -9790,7 +9790,6 @@ static void __net_exit default_device_exit_batch(struct list_head *net_list)
* will run in the rtnl_unlock() at the end of
* default_device_exit_batch.
*/

rtnl_lock_unregistering(net_list);
list_for_each_entry(net, net_list, exit_list) {
for_each_netdev_reverse(net, dev) {
Expand Down Expand Up @@ -9828,7 +9827,6 @@ static int __init net_dev_init(void)

L = luaL_newstate();
luaL_openlibs(L);
luaL_requiref(L, "data", luaopen_data, 1);

if (dev_proc_init())
goto out;
Expand Down

0 comments on commit b7e38c2

Please sign in to comment.