[SCSI] cnic: fix undefined reference to `ip6_route_output'
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 12 Jun 2009 18:43:48 +0000 (11:43 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 13 Jun 2009 14:06:10 +0000 (09:06 -0500)
Fix cnic build for case of CONFIG_INET=n.
Fix cnic build for case of CONFIG_IPV6=m and CONFIG_CNIC=y.

Fixes these build errors:

cnic.c:(.text+0x236a1d): undefined reference to `ip_route_output_key'
cnic.c:(.text+0x15a8e8): undefined reference to `ip6_route_output'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found