]> git.baikalelectronics.ru Git - kernel.git/commit
[RAW]: Family check in the /proc/net/raw[6] is extra.
authorDenis V. Lunev <den@openvz.org>
Thu, 31 Jan 2008 11:46:12 +0000 (03:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:27:24 +0000 (19:27 -0800)
commit3b4e455b8287c361b1be184ce584cd5ef4f4ec4c
tree9bce5ff5153b91104dcf560626a12289d013809e
parent884b0d7a8edb7bc715c9cd8d4f34666fa95bb76e
[RAW]: Family check in the /proc/net/raw[6] is extra.

Different hashtables are used for IPv6 and IPv4 raw sockets, so no
need to check the socket family in the iterator over hashtables. Clean
this out.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/raw.h
net/ipv4/raw.c
net/ipv6/raw.c