net: fib_rules: set family in fib_rule_hdr centrally
authorPatrick McHardy <kaber@trash.net>
Tue, 13 Apr 2010 05:03:16 +0000 (05:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 21:49:30 +0000 (14:49 -0700)
commit28bb17268b92b0c568f2496e5e631008f9108409
treeba2d619dbb6caf9ad81849e58d7409b790f9539c
parentd8a566beaa75c6ad5e38cdccf0ea5294323e7866
net: fib_rules: set family in fib_rule_hdr centrally

All fib_rules implementations need to set the family in their ->fill()
functions. Since the value is available to the generic fib_nl_fill_rule()
function, set it there.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/fib_rules.c
net/decnet/dn_rules.c
net/ipv4/fib_rules.c
net/ipv6/fib6_rules.c