diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-09 20:57:50 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-09 20:57:50 -0800 |
commit | cc7e17ea0427a5df319e43606a3d6c53b13a6e9c (patch) | |
tree | 3a4030df19e212619ce4437c2100a23a35e759dd /kernel/smp.c | |
parent | 67e28ffd864eebbaf48b404d0a8cb4edd2bdc924 (diff) |
ipv4: Optimize flow initialization in fib_validate_source().
Like in commit 44713b67db10c774f14280c129b0d5fd13c70cf2
("ipv4: Optimize flow initialization in output route lookup."
we can optimize the on-stack flow setup to only initialize
the members which are actually used.
Otherwise we bzero the entire structure, then initialize
explicitly the first half of it.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions