]> err.no Git - linux-2.6/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)
commit377cf82d66ea43f3d3cb82c2563e65b5c12c9bfd
tree9bce5ff5153b91104dcf560626a12289d013809e
parentb1641064a3f4a58644bc2e8edf40c025c58473b4
[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