]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Remove circular dependency on if_inet6.h
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 31 Jul 2007 00:05:49 +0000 (17:05 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:17 +0000 (02:28 -0700)
commit5de28211105aecd3045da236d6a7cb4417bb90f2
treeaab807acb688bf52903f506dc58932344770326f
parent7261a122c42172600ba45ba320c6050fbe23db60
[IPV6]: Remove circular dependency on if_inet6.h

net/if_inet6.h includes linux/ipv6.h which also tries to include
net/if_inet6.h.  Since the latter only needs it for forward
declarations, we can fix this by adding the declarations.

A number of files are implicitly including net/if_inet6.h through
linux/ipv6.h.  They also use net/ipv6.h so this patch includes
net/if_inet6.h there.

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