]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
net: Optimize non-gso test checks
authorKrishna Kumar <krkumar2@in.ibm.com>
Thu, 21 Jan 2010 09:26:29 +0000 (01:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2010 09:26:29 +0000 (01:26 -0800)
commit4b258461c0b31ded170a1a56b944b0fded1c887b
treece1fa90ec4fc8ea8e5fb4646f3e5a8d88f98dac3
parent5f8cbc13225eadd981c817f7d14b8deab61ebfaa
net: Optimize non-gso test checks

Avoid checking twice whether skb needs to be linearized, if one
skb_linearize was already done.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c