[NET]: Rethink mark field in struct flowi
Now that all protocols have been made aware of the mark field it can be moved out of the union thus simplyfing its usage. The config options in the IPv4/IPv6/DECnet subsystems to enable respectively disable mark based routing only obfuscate the code with ifdefs, the cost for the additional comparison in the flow key is insignificant, and most distributions have all these options enabled by default anyway. Therefore it makes sense to remove the config options and enable mark based routing by default. 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
82e91ffef6
commit
47dcf0cb10
@ -104,13 +104,6 @@ config IP_MULTIPLE_TABLES
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config IP_ROUTE_FWMARK
|
||||
bool "IP: use netfilter MARK value as routing key"
|
||||
depends on IP_MULTIPLE_TABLES && NETFILTER
|
||||
help
|
||||
If you say Y here, you will be able to specify different routes for
|
||||
packets with different mark values (see iptables(8), MARK target).
|
||||
|
||||
config IP_ROUTE_MULTIPATH
|
||||
bool "IP: equal cost multipath"
|
||||
depends on IP_ADVANCED_ROUTER
|
||||
|
Reference in New Issue
Block a user