fib6: install fib6 ops in the last step
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 25 Mar 2015 21:45:02 +0000 (14:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 19:12:37 +0000 (12:12 -0700)
commit85b9909272f128757dcb6d053ca12e15931747d4
tree13f6be2a38fc787a3fa3137bc32c2c5ef023936c
parent7145074b374dd90a4512fe52c062b336b724f276
fib6: install fib6 ops in the last step

We should not commit the new ops until we finish
all the setup, otherwise we have to NULL it on failure.

Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/fib6_rules.c