git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0bdef
)
ipv4: Simplify output route creation call sequence.
author
David S. Miller
<davem@davemloft.net>
Thu, 17 Feb 2011 23:29:00 +0000
(15:29 -0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 17 Feb 2011 23:29:00 +0000
(15:29 -0800)
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 <davem@davemloft.net>
net/ipv4/route.c
patch
|
blob
|
history
diff --cc
net/ipv4/route.c
Simple merge