[tip:core/locking] pkt_sched: Make act_csum depend upon INET.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  7abac686026ec1af38f6e766369dbfe4007949b6
Gitweb:     http://git.kernel.org/tip/7abac686026ec1af38f6e766369dbfe4007949b6
Author:     David S. Miller <davem@xxxxxxxxxxxxx>
AuthorDate: Mon, 23 Aug 2010 20:42:11 -0700
Committer:  David S. Miller <davem@xxxxxxxxxxxxx>
CommitDate: Mon, 23 Aug 2010 20:42:11 -0700

pkt_sched: Make act_csum depend upon INET.

It uses ip_send_check() and stuff like that.

Reported-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
---
 net/sched/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sched/Kconfig b/net/sched/Kconfig
index 522d5a9..a36270a 100644
--- a/net/sched/Kconfig
+++ b/net/sched/Kconfig
@@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux