Re: [PATCH net 3/6] ipv4: add check if nh_pcpu_rth_output is allocated flat view From: David Miller <davem@davemloft.net> Date: 2012-10-08 19:17:54 From: Julian Anastasov <ja@ssi.bg> Date: Sun, 7 Oct 2012 14:26:05 +0300 Avoid NULL ptr dereference and caching if nh_pcpu_rth_output is not allocated. Signed-off-by: Julian Anastasov <ja@ssi.bg> Ugh. Checking for alloc_percpu() failures in fib_create_info() is 1,000 times better than doing stuff like this in the fast path.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help