net: remove redundant code in dev_hard_start_xmit()
authorEric Dumazet <edumazet@google.com>
Mon, 22 Apr 2013 14:31:34 +0000 (14:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 05:38:25 +0000 (01:38 -0400)
commite12472dc574ca91be4cb87b14fb8cf90bee02c60
treeead11107d95415784ec3de211428ddc021280b7c
parentee80fbf301adac644d0c9465194a7ec87bcd4a07
net: remove redundant code in dev_hard_start_xmit()

This reverts commit 068a2de57ddf4f4 (net: release dst entry while
cache-hot for GSO case too)

Before GSO packet segmentation, we already take care of skb->dst if it
can be released.

There is no point adding extra test for every segment in the gso loop.

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