Commit 6029e5ac authored by David S. Miller's avatar David S. Miller

[IPV4/IPV6]; Missing schedule_net() in inet{,6}_del_protocol.

parent ac062f74
...@@ -91,6 +91,7 @@ int inet_del_protocol(struct inet_protocol *prot, unsigned char protocol) ...@@ -91,6 +91,7 @@ int inet_del_protocol(struct inet_protocol *prot, unsigned char protocol)
} }
spin_unlock_bh(&inet_proto_lock); spin_unlock_bh(&inet_proto_lock);
synchronize_net();
return ret; return ret;
} }
...@@ -80,5 +80,7 @@ int inet6_del_protocol(struct inet6_protocol *prot, unsigned char protocol) ...@@ -80,5 +80,7 @@ int inet6_del_protocol(struct inet6_protocol *prot, unsigned char protocol)
spin_unlock_bh(&inet6_proto_lock); spin_unlock_bh(&inet6_proto_lock);
synchronize_net();
return ret; return ret;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment