]> 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)
commit97a3c66df31d992dbddf8a90e685a47db34d7a32
tree5f592b7613c48716dc1a88bfd688129d24e62324
parenta655a50178439f8fa669b2449f1b0f0da18256b2
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