From: Pavel Emelyanov Date: Fri, 18 Jan 2008 11:27:12 +0000 (-0800) Subject: [IPV6]: Mischecked tw match in __inet6_check_established. X-Git-Tag: v2.6.24~26^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3652b2dc5ec6ccd946ae9136b30c6babb81305a;p=pandora-kernel.git [IPV6]: Mischecked tw match in __inet6_check_established. When looking for a conflicting connection the !sk->sk_bound_dev_if check is performed only for live sockets, but not for timewait-ed. This is not the case for ipv4, for __inet6_lookup_established in both ipv4 and ipv6 and for other places that check for tw-s. Was this missed accidentally? If so, then this patch fixes it and besides makes use if the dif variable declared in the function. Signed-off-by: Pavel Emelyanov Signed-off-by: David S. Miller --- Reading git-diff-tree failed