diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/ip6_fib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index 73db48eba1c4..5bec666aba61 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c | |||
@@ -825,9 +825,9 @@ int fib6_add(struct fib6_node *root, struct rt6_info *rt, struct nl_info *info) | |||
825 | fn = fib6_add_1(root, &rt->rt6i_dst.addr, rt->rt6i_dst.plen, | 825 | fn = fib6_add_1(root, &rt->rt6i_dst.addr, rt->rt6i_dst.plen, |
826 | offsetof(struct rt6_info, rt6i_dst), allow_create, | 826 | offsetof(struct rt6_info, rt6i_dst), allow_create, |
827 | replace_required); | 827 | replace_required); |
828 | |||
829 | if (IS_ERR(fn)) { | 828 | if (IS_ERR(fn)) { |
830 | err = PTR_ERR(fn); | 829 | err = PTR_ERR(fn); |
830 | fn = NULL; | ||
831 | goto out; | 831 | goto out; |
832 | } | 832 | } |
833 | 833 | ||