Commit 282d9b16 authored by David S. Miller's avatar David S. Miller

Netlink: Pid check changes need to use 2.5.x style sock private accessing.

parent a1e033b0
...@@ -279,9 +279,9 @@ static int netlink_release(struct socket *sock) ...@@ -279,9 +279,9 @@ static int netlink_release(struct socket *sock)
skb_queue_purge(&sk->write_queue); skb_queue_purge(&sk->write_queue);
if (sk->protinfo.af_netlink->pid && !sk->protinfo.af_netlink->groups) { if (nlk->pid && !nlk->groups) {
struct netlink_notify n = { protocol:sk->protocol, struct netlink_notify n = { protocol:sk->protocol,
pid:sk->protinfo.af_netlink->pid }; pid:nlk->pid };
notifier_call_chain(&netlink_chain, NETLINK_URELEASE, &n); notifier_call_chain(&netlink_chain, NETLINK_URELEASE, &n);
} }
......
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