]> err.no Git - linux-2.6/commit
[NET]: Rethink mark field in struct flowi
authorThomas Graf <tgraf@suug.ch>
Thu, 9 Nov 2006 23:20:38 +0000 (15:20 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:21:39 +0000 (21:21 -0800)
commit47dcf0cb1005e86d0eea780f2984b2e7490f63cd
tree1a56767a77e219fab54ab1daf34342745f6d62a8
parent82e91ffef60e6eba9848fe149ce1eecd2b5aef12
[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>
14 files changed:
include/net/flow.h
include/net/ip_mp_alg.h
net/decnet/Kconfig
net/decnet/dn_route.c
net/decnet/dn_rules.c
net/ipv4/Kconfig
net/ipv4/fib_frontend.c
net/ipv4/fib_rules.c
net/ipv4/netfilter.c
net/ipv4/netfilter/iptable_mangle.c
net/ipv4/route.c
net/ipv6/Kconfig
net/ipv6/fib6_rules.c
net/ipv6/route.c