Pavel Emelyanov b872a2371f udp_diag: Make it module when ipv6 is a module
Eric Dumazet reported, that when inet_diag is built-in the udp_diag also goes
built-in and when ipv6 is a module the udp6 lookup symbol is not found.

  LD      .tmp_vmlinux1
net/built-in.o: In function `udp_dump_one':
udp_diag.c:(.text+0xa2b40): undefined reference to `__udp6_lib_lookup'
make: *** [.tmp_vmlinux1] Erreur 1

Fix this by making udp diag build mode depend on both -- inet diag and ipv6.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-10 13:14:59 -05:00
..
2011-11-12 18:13:32 -05:00
2011-12-06 00:34:40 -05:00
2011-10-13 16:05:07 -04:00
2011-10-19 03:10:46 -04:00
2011-10-19 03:10:46 -04:00
2011-11-08 15:10:59 -05:00
2011-11-18 14:38:59 -05:00
2011-06-08 17:05:30 -07:00
2011-12-04 01:25:19 -05:00
2011-12-05 18:30:03 -05:00
2011-10-24 17:36:08 -04:00
2011-12-05 18:30:03 -05:00
2011-12-09 14:14:08 -05:00