From: David Miller <davem@davemloft.net> Date: 2011-05-06 22:26:50
For the on-stack corking case, we initialize the inet_cork twice.
Furthermore the paths that inspect the inet_cork in ip_output.c
do not care at all about the flow which is large.
Split inet_cork up and optimize the initialization in the on-stack
case.
Results for "udpflood -l 10000000 ${IP_ADDR}" on Niagara2+ @ 1.2GHz
Before 1m45s
After 1m40s
Signed-off-by: David S. Miller <davem@davemloft.net>