public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [DECNET]: Use correct config option for routing by fwmark in compare_keys()
@ 2006-10-12 10:23 Patrick McHardy
  2006-10-12 10:27 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick McHardy @ 2006-10-12 10:23 UTC (permalink / raw)
  To: David S. Miller; +Cc: Linux Netdev List

[-- Attachment #1: Type: text/plain, Size: 39 bytes --]

Small bugfix to the compare_keys fix.


[-- Attachment #2: x --]
[-- Type: text/plain, Size: 1003 bytes --]

[DECNET]: Use correct config option for routing by fwmark in compare_keys()

Signed-off-by: Patrick McHardy <kaber@trash•net>

---
commit 8302c73a668852de1b1527038bc4c432cf757a7f
tree d4e9be4f4bfc87b56bf4756a12a2538f2211fc84
parent 22c4cae48af19e83f31bb88a98970166beacc4fd
author Patrick McHardy <kaber@trash•net> Thu, 12 Oct 2006 12:22:57 +0200
committer Patrick McHardy <kaber@trash•net> Thu, 12 Oct 2006 12:22:57 +0200

 net/decnet/dn_route.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index a2a43d8..491429c 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -269,7 +269,7 @@ static inline int compare_keys(struct fl
 {
 	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) |

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [DECNET]: Use correct config option for routing by fwmark in compare_keys()
  2006-10-12 10:23 [DECNET]: Use correct config option for routing by fwmark in compare_keys() Patrick McHardy
@ 2006-10-12 10:27 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-10-12 10:27 UTC (permalink / raw)
  To: kaber; +Cc: netdev

From: Patrick McHardy <kaber@trash•net>
Date: Thu, 12 Oct 2006 12:23:37 +0200

> Small bugfix to the compare_keys fix.

Damn cut&paste :-)  I'll add this fix tomorrow, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-12 10:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 10:23 [DECNET]: Use correct config option for routing by fwmark in compare_keys() Patrick McHardy
2006-10-12 10:27 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox