]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: make sure nh_pcpu_rth_output is always allocated
authorJulian Anastasov <ja@ssi.bg>
Mon, 8 Oct 2012 11:41:17 +0000 (11:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2012 21:42:35 +0000 (17:42 -0400)
commite460aba0b771140bb830e7552183b74322ccf62e
tree5f592b7613c48716dc1a88bfd688129d24e62324
parent2c735eb754065e47c3e2545c7ecf602931b6290b
ipv4: make sure nh_pcpu_rth_output is always allocated

Avoid checking nh_pcpu_rth_output in fast path,
abort fib_info creation on alloc_percpu failure.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c
net/ipv4/route.c