net: add req_prot_cleanup() & req_prot_init() helpers
authorEric Dumazet <edumazet@google.com>
Thu, 12 Mar 2015 23:44:07 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2015 02:58:13 +0000 (22:58 -0400)
commit0159dfd3d7dff2da646f53039d29319b830207be
tree689aa485e80a6d2c5f0711453a5b1701b05f247c
parent1e2e01172fd11b4dbfee746c0c8fbcaa9dbf22a0
net: add req_prot_cleanup() & req_prot_init() helpers

Make proto_register() & proto_unregister() a bit nicer.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c