diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-17 15:29:00 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-17 15:29:00 -0800 |
commit | 5ada552746685d558d0a8e9e979921c75a41e469 (patch) | |
tree | e81111d9cdb826f34d31f1276a51321c6ce14df0 /lib/div64.c | |
parent | cf0bdefd4676ad4ad59507a058821491a40ec7e6 (diff) |
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 <davem@davemloft.net>
Diffstat (limited to 'lib/div64.c')
0 files changed, 0 insertions, 0 deletions