summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-06 15:06:01 -0700
committerDavid S. Miller <davem@davemloft.net>2011-05-06 15:37:57 -0700
commitb80d72261aec5e763a76497eba5fddc84833a154 (patch)
tree08480c09ea98195bbc48d5e52282b7129ccfd98b /usr
parentbdc712b4c2baf9515887de3a52e7ecd89fafc0c7 (diff)
downloadlinux-b80d72261aec5e763a76497eba5fddc84833a154.tar.gz
linux-b80d72261aec5e763a76497eba5fddc84833a154.tar.bz2
linux-b80d72261aec5e763a76497eba5fddc84833a154.zip
ipv4: Initialize on-stack cork more efficiently.
ip_setup_cork() explicitly initializes every member of inet_cork except flags, addr, and opt. So we can simply set those three members to zero instead of using a memset() via an empty struct assignment. Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions