packet: Fix build with INET disabled.
authorDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 15:18:04 +0000 (08:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 15:18:04 +0000 (08:18 -0700)
commit31817df025e24559a01d33ddd68bd11b21bf9d7b
tree13705c13b8abccf01fd1281cda46ca1e3d25f211
parentafe62c68cd3562c5f8e3ea293e82906dd5a87936
packet: Fix build with INET disabled.

af_packet.c:(.text+0x3d130): undefined reference to `ip_defrag'
or
ERROR: "ip_defrag" [net/packet/af_packet.ko] undefined!

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c