Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

netxen: include ipv6.h (fixes build failure)

Fixes a build error in absence of CONFIG_IPV6:

drivers/net/netxen/netxen_nic_main.c:1189: error: implicit declaration of function 'ipv6_hdr'
drivers/net/netxen/netxen_nic_main.c:1189: error: invalid type argument of '->'

Reported-by: Ingo Molnar <mingo@elte.hu>

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Dhananjay Phadke and committed by
David S. Miller
00977784 3bfafd6b

+1
+1
drivers/net/netxen/netxen_nic_main.c
··· 41 41 #include <linux/dma-mapping.h> 42 42 #include <linux/if_vlan.h> 43 43 #include <net/ip.h> 44 + #include <linux/ipv6.h> 44 45 45 46 MODULE_DESCRIPTION("NetXen Multi port (1/10) Gigabit Network Driver"); 46 47 MODULE_LICENSE("GPL");