aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_mqprio.c
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2017-02-11 03:49:57 +0200
committerDavid S. Miller <davem@davemloft.net>2017-02-11 21:26:57 -0500
commit1bf960502e4c94425c3a3a985200834fb59839c6 (patch)
tree5ed30ec961fa8e1333a3818bacc5b0607c20a210 /net/sched/sch_mqprio.c
parentvxlan: remove vni zero check and drop for COLLECT_METADATA (diff)
downloadlinux-dev-1bf960502e4c94425c3a3a985200834fb59839c6.tar.xz
linux-dev-1bf960502e4c94425c3a3a985200834fb59839c6.zip
net: ethernet: ti: cpsw: return NET_XMIT_DROP if skb_padto failed
If skb_padto failed the skb has been dropped already, so it was consumed, but it doesn't mean it was sent, thus no need to update queue tx time, etc. So, return NET_XMIT_DROP as more appropriate. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_mqprio.c')
0 files changed, 0 insertions, 0 deletions