summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-10-12 13:53:32 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-15 23:14:05 -0700
commitbe60358e948484e472c88bf8a2d77e644ff5ed83 (patch)
tree1ac734ad4ec84cb3c9cb6962f42fc2f38323f291
parent51018b0a3160d253283173c2f54f16746cee5852 (diff)
downloadlinux-3.10-be60358e948484e472c88bf8a2d77e644ff5ed83.tar.gz
linux-3.10-be60358e948484e472c88bf8a2d77e644ff5ed83.tar.bz2
linux-3.10-be60358e948484e472c88bf8a2d77e644ff5ed83.zip
[DECNET]: Use correct config option for routing by fwmark in compare_keys()
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/decnet/dn_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index a2a43d8d93f..491429ce939 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -269,7 +269,7 @@ static inline int compare_keys(struct flowi *fl1, struct flowi *fl2)
{
return ((fl1->nl_u.dn_u.daddr ^ fl2->nl_u.dn_u.daddr) |
(fl1->nl_u.dn_u.saddr ^ fl2->nl_u.dn_u.saddr) |
-#ifdef CONFIG_IP_ROUTE_FWMARK
+#ifdef CONFIG_DECNET_ROUTE_FWMARK
(fl1->nl_u.dn_u.fwmark ^ fl2->nl_u.dn_u.fwmark) |
#endif
(fl1->nl_u.dn_u.scope ^ fl2->nl_u.dn_u.scope) |