]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit16225842e61bd01fafd20e336ae8d057696b607b
tree149c5e1c8db5bcf2af47caeb732f900bc722875f
parentb21c226944be6f2ca9ae79ac2633c8774a389df8
[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