Skip to content
Snippets Groups Projects
Commit cc7e17ea authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: Optimize flow initialization in fib_validate_source().


Like in commit 44713b67
("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: default avatarDavid S. Miller <davem@davemloft.net>
parent 67e28ffd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment