[RAW]: Add raw_hashinfo member on struct proto.
authorPavel Emelyanov <xemul@openvz.org>
Sat, 22 Mar 2008 23:56:51 +0000 (16:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Mar 2008 23:56:51 +0000 (16:56 -0700)
commitfc8717baa8f52dd8d1b90df9008300ef3ec794ed
tree149c5e1c8db5bcf2af47caeb732f900bc722875f
parent6ba5a3c52da00015e739469e3b00cd6d0d4c5c67
[RAW]: Add raw_hashinfo member on struct proto.

Sorry for the patch sequence confusion :| but I found that the similar
thing can be done for raw sockets easily too late.

Expand the proto.h union with the raw_hashinfo member and use it in
raw_prot and rawv6_prot. This allows to drop the protocol specific
versions of hash and unhash callbacks.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/raw.h
include/net/sock.h
net/ipv4/raw.c
net/ipv6/raw.c