pkt_sched: Make act_csum depend upon INET.
authorDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:42:11 +0000 (20:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:42:11 +0000 (20:42 -0700)
It uses ip_send_check() and stuff like that.

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

index 522d5a9a28250c9c3584e1480e4308aa34845598..a36270a994d763d75f5d1c7cff272d0305a88835 100644 (file)
@@ -520,7 +520,7 @@ config NET_ACT_SKBEDIT
 
 config NET_ACT_CSUM
         tristate "Checksum Updating"
-        depends on NET_CLS_ACT
+        depends on NET_CLS_ACT && INET
         ---help---
          Say Y here to update some common checksum after some direct
          packet alterations.