commit | 67e28ffd864eebbaf48b404d0a8cb4edd2bdc924 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Mar 09 20:42:07 2011 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 09 20:42:07 2011 -0800 |
tree | acd2328f3d45db16b45841e796c23815570748f6 | |
parent | 2f4e1b3970973bbb57cc3a3b9d67e67c1c648c37 [diff] |
ipv4: Optimize flow initialization in input route lookup. 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>