diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-31 11:46:12 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-01 03:27:24 (GMT) |
commit | 377cf82d66ea43f3d3cb82c2563e65b5c12c9bfd (patch) | |
tree | 9bce5ff5153b91104dcf560626a12289d013809e /net/ipv6/raw.c | |
parent | b1641064a3f4a58644bc2e8edf40c025c58473b4 (diff) | |
download | linux-fsl-qoriq-377cf82d66ea43f3d3cb82c2563e65b5c12c9bfd.tar.xz |
[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>
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index d61c63d..a2cf499 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -1262,7 +1262,7 @@ static const struct seq_operations raw6_seq_ops = { static int raw6_seq_open(struct inode *inode, struct file *file) { - return raw_seq_open(inode, file, &raw_v6_hashinfo, PF_INET6); + return raw_seq_open(inode, file, &raw_v6_hashinfo); } static const struct file_operations raw6_seq_fops = { |