From: David S. Miller Date: Fri, 6 May 2011 22:02:07 +0000 (-0700) Subject: inet: Decrease overhead of on-stack inet_cork. X-Git-Tag: v3.0-rc1~377^2~158 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdc712b4c2baf9515887de3a52e7ecd89fafc0c7;p=pandora-kernel.git inet: Decrease overhead of on-stack inet_cork. When we fast path datagram sends to avoid locking by putting the inet_cork on the stack we use up lots of space that isn't necessary. This is because inet_cork contains a "struct flowi" which isn't used in these code paths. Split inet_cork to two parts, "inet_cork" and "inet_cork_full". Only the latter of which has the "struct flowi" and is what is stored in inet_sock. Signed-off-by: David S. Miller Acked-by: Eric Dumazet --- Reading git-diff-tree failed