diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-31 06:46:12 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-31 22:27:24 -0500 |
commit | 377cf82d66ea43f3d3cb82c2563e65b5c12c9bfd (patch) | |
tree | 9bce5ff5153b91104dcf560626a12289d013809e /net/ipv6/raw.c | |
parent | b1641064a3f4a58644bc2e8edf40c025c58473b4 (diff) |
[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 d61c63dedbf6..a2cf49911ffd 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -1262,7 +1262,7 @@ static const struct seq_operations raw6_seq_ops = { | |||
1262 | 1262 | ||
1263 | static int raw6_seq_open(struct inode *inode, struct file *file) | 1263 | static int raw6_seq_open(struct inode *inode, struct file *file) |
1264 | { | 1264 | { |
1265 | return raw_seq_open(inode, file, &raw_v6_hashinfo, PF_INET6); | 1265 | return raw_seq_open(inode, file, &raw_v6_hashinfo); |
1266 | } | 1266 | } |
1267 | 1267 | ||
1268 | static const struct file_operations raw6_seq_fops = { | 1268 | static const struct file_operations raw6_seq_fops = { |