]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/fib6_rules.c
net: fib_rules: set family in fib_rule_hdr centrally
[net-next-2.6.git] / net / ipv6 / fib6_rules.c
index 5e463c43fcc27a3abdfaf257a0bae134819154ae..92b2b7fb6c3d91131c2790113ab24240f32fc90d 100644 (file)
@@ -208,7 +208,6 @@ static int fib6_rule_fill(struct fib_rule *rule, struct sk_buff *skb,
 {
        struct fib6_rule *rule6 = (struct fib6_rule *) rule;
 
-       frh->family = AF_INET6;
        frh->dst_len = rule6->dst.plen;
        frh->src_len = rule6->src.plen;
        frh->tos = rule6->tclass;