Commit 37433f98 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://kernel.bkbits.net/davem/sparc-2.6

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 31a02fd4 775407eb
...@@ -479,7 +479,7 @@ static int tcp_v6_check_established(struct sock *sk) ...@@ -479,7 +479,7 @@ static int tcp_v6_check_established(struct sock *sk)
/* And established part... */ /* And established part... */
sk_for_each(sk2, node, &head->chain) { sk_for_each(sk2, node, &head->chain) {
if(TCP_IPV6_MATCH(sk, saddr, daddr, ports, dif)) if(TCP_IPV6_MATCH(sk2, saddr, daddr, ports, dif))
goto not_unique; goto not_unique;
} }
......
...@@ -543,7 +543,7 @@ int netlink_unicast(struct sock *ssk, struct sk_buff *skb, u32 pid, int nonblock ...@@ -543,7 +543,7 @@ int netlink_unicast(struct sock *ssk, struct sk_buff *skb, u32 pid, int nonblock
sk = netlink_getsockbypid(ssk, pid); sk = netlink_getsockbypid(ssk, pid);
if (IS_ERR(sk)) { if (IS_ERR(sk)) {
kfree_skb(skb); kfree_skb(skb);
return PTR_ERR(skb); return PTR_ERR(sk);
} }
err = netlink_attachskb(sk, skb, nonblock, timeo); err = netlink_attachskb(sk, skb, nonblock, timeo);
if (err == 1) 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