[IPV4]: Consolidate common SNMP code
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 25 Apr 2007 04:53:35 +0000 (21:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:51 +0000 (22:29 -0700)
commit5e0f04351d11e07a23b5ab4914282cbb78027e50
tree271fbed72ec607ecb8f7574a3b450aee1b0c8186
parentbb7ec6dfb5aa32b5b4d7d6388b4098b33cd01e8c
[IPV4]: Consolidate common SNMP code

This patch moves the SNMP code shared between IPv4/IPv6 from proc.c
into net/ipv4/af_inet.c.  This makes sense because these functions
aren't specific to /proc.

As a result we can again skip proc.o if /proc is disabled.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/Makefile
net/ipv4/af_inet.c
net/ipv4/proc.c