Commit 556769bc authored by Peter Martuccelli's avatar Peter Martuccelli Committed by David S. Miller

[NETLINK]: Fix typo in netlink_unicast.

parent 1aa3f5ed
......@@ -543,7 +543,7 @@ int netlink_unicast(struct sock *ssk, struct sk_buff *skb, u32 pid, int nonblock
sk = netlink_getsockbypid(ssk, pid);
if (IS_ERR(sk)) {
kfree_skb(skb);
return PTR_ERR(skb);
return PTR_ERR(sk);
}
err = netlink_attachskb(sk, skb, nonblock, timeo);
if (err == 1)
......
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