diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-24 13:38:12 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 13:38:12 -0800 |
commit | dca8b089c95d94afa1d715df257de0286350e99d (patch) | |
tree | f686fef8ef3d80f81bd9f91072ce8c5f347e3e7c /scripts/kconfig/lxdialog/BIG.FAT.WARNING | |
parent | 33765d06033cc4ba4d9ae6d3d606ef3f28773c1b (diff) | |
download | kernel_samsung_smdk4412-dca8b089c95d94afa1d715df257de0286350e99d.tar.gz kernel_samsung_smdk4412-dca8b089c95d94afa1d715df257de0286350e99d.tar.bz2 kernel_samsung_smdk4412-dca8b089c95d94afa1d715df257de0286350e99d.zip |
ipv4: Rearrange how ip_route_newports() gets port keys.
ip_route_newports() is the only place in the entire kernel that
cares about the port members in the routing cache entry's lookup
flow key.
Therefore the only reason we store an entire flow inside of the
struct rtentry is for this one special case.
Rewrite ip_route_newports() such that:
1) The caller passes in the original port values, so we don't need
to use the rth->fl.fl_ip_{s,d}port values to remember them.
2) The lookup flow is constructed by hand instead of being copied
from the routing cache entry's flow.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/kconfig/lxdialog/BIG.FAT.WARNING')
0 files changed, 0 insertions, 0 deletions