]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[IPV4]: Fix error handling for fib_insert_node call
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 12 Jul 2006 20:29:56 +0000 (13:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 12 Jul 2006 20:59:04 +0000 (13:59 -0700)
commitb47b2ec19892ffc2b06ebf138ed4aa141275a1c2
tree86642bccfbfdeb004a1b14b28c6ea15ee091de87
parent4b260a98f1afc74cd6b73ce0616d76b441dbe8c5
[IPV4]: Fix error handling for fib_insert_node call

The error handling around fib_insert_node was broken because we always
zeroed the error before checking it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c