[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>
This commit is contained in:
committed by
David S. Miller
parent
0afc46c468
commit
82e91ffef6
@@ -1236,7 +1236,7 @@ static int dn_route_input_slow(struct sk_buff *skb)
|
||||
.saddr = cb->src,
|
||||
.scope = RT_SCOPE_UNIVERSE,
|
||||
#ifdef CONFIG_DECNET_ROUTE_FWMARK
|
||||
.fwmark = skb->nfmark
|
||||
.fwmark = skb->mark
|
||||
#endif
|
||||
} },
|
||||
.iif = skb->dev->ifindex };
|
||||
@@ -1458,7 +1458,7 @@ int dn_route_input(struct sk_buff *skb)
|
||||
(rt->fl.fld_dst == cb->dst) &&
|
||||
(rt->fl.oif == 0) &&
|
||||
#ifdef CONFIG_DECNET_ROUTE_FWMARK
|
||||
(rt->fl.fld_fwmark == skb->nfmark) &&
|
||||
(rt->fl.fld_fwmark == skb->mark) &&
|
||||
#endif
|
||||
(rt->fl.iif == cb->iif)) {
|
||||
rt->u.dst.lastuse = jiffies;
|
||||
|
Reference in New Issue
Block a user