diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-11-09 18:19:14 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:21:38 -0500 |
commit | 82e91ffef60e6eba9848fe149ce1eecd2b5aef12 (patch) | |
tree | 9ccc6a518a1f678ae15cfb3a59c05127286cff96 /net/decnet/dn_route.c | |
parent | 0afc46c4683df512eef34a71a85065dc555c2af2 (diff) |
[NET]: Turn nfmark into generic mark
nfmark is being used in various subsystems and has become
the defacto mark field for all kinds of packets. Therefore
it makes sense to rename it to `mark' and remove the
dependency on CONFIG_NETFILTER.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_route.c')
-rw-r--r-- | net/decnet/dn_route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 23489f7232d2..3482839af280 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -1236,7 +1236,7 @@ static int dn_route_input_slow(struct sk_buff *skb) | |||
1236 | .saddr = cb->src, | 1236 | .saddr = cb->src, |
1237 | .scope = RT_SCOPE_UNIVERSE, | 1237 | .scope = RT_SCOPE_UNIVERSE, |
1238 | #ifdef CONFIG_DECNET_ROUTE_FWMARK | 1238 | #ifdef CONFIG_DECNET_ROUTE_FWMARK |
1239 | .fwmark = skb->nfmark | 1239 | .fwmark = skb->mark |
1240 | #endif | 1240 | #endif |
1241 | } }, | 1241 | } }, |
1242 | .iif = skb->dev->ifindex }; | 1242 | .iif = skb->dev->ifindex }; |
@@ -1458,7 +1458,7 @@ int dn_route_input(struct sk_buff *skb) | |||
1458 | (rt->fl.fld_dst == cb->dst) && | 1458 | (rt->fl.fld_dst == cb->dst) && |
1459 | (rt->fl.oif == 0) && | 1459 | (rt->fl.oif == 0) && |
1460 | #ifdef CONFIG_DECNET_ROUTE_FWMARK | 1460 | #ifdef CONFIG_DECNET_ROUTE_FWMARK |
1461 | (rt->fl.fld_fwmark == skb->nfmark) && | 1461 | (rt->fl.fld_fwmark == skb->mark) && |
1462 | #endif | 1462 | #endif |
1463 | (rt->fl.iif == cb->iif)) { | 1463 | (rt->fl.iif == cb->iif)) { |
1464 | rt->u.dst.lastuse = jiffies; | 1464 | rt->u.dst.lastuse = jiffies; |