From: David S. Miller Date: Thu, 17 Feb 2011 23:29:00 +0000 (-0800) Subject: ipv4: Simplify output route creation call sequence. X-Git-Tag: v2.6.39-rc1~468^2~334 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ada552746685d558d0a8e9e979921c75a41e469;p=pandora-kernel.git ipv4: Simplify output route creation call sequence. There's a lot of redundancy and unnecessary stack frames in the output route creation path. 1) Make __mkroute_output() return error pointers. 2) Eliminate ip_mkroute_output() entirely, made possible by #1. 3) Call __mkroute_output() directly and handling the returning error pointers in ip_route_output_slow(). Signed-off-by: David S. Miller --- Reading git-diff-tree failed