]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[UDP]: Move udp_stats_in6 into net/ipv4/udp.c
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 Dec 2007 19:25:26 +0000 (11:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:58:06 +0000 (14:58 -0800)
commit9055e051b8d4b266054fe511a65a9888d30fa64f
treed42c5bf77ec53aff70d8be3df875789db2112774
parent8d614434ab77b440b69e66a9bd44e46e7194c34a
[UDP]: Move udp_stats_in6 into net/ipv4/udp.c

Now that external users may increment the counters directly, we need
to ensure that udp_stats_in6 is always available.  Otherwise we'd
either have to requrie the external users to be built as modules or
ipv6 to be built-in.

This isn't too bad because udp_stats_in6 is just a pair of pointers
plus an EXPORT, e.g., just 40 (16 + 24) bytes on x86-64.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp.c