commit | 83229aa5e2c242163599266a686483e3b91ec07e | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Thu Mar 31 04:52:14 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 31 04:52:14 2011 -0700 |
tree | e4dad24604077a6ca1cd1542e3d3de8b6365cedc | |
parent | 0a5c047507aaaf00519921336d19c0f8f5f9f363 [diff] |
net: Add helper flowi4_init_output(). On-stack initialization via assignment of flow structures are expensive because GCC emits a memset() to clear the entire structure out no matter what. Add a helper for ipv4 output flow key setup which we can use to avoid the memset. Signed-off-by: David S. Miller <davem@davemloft.net>