]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: pktgen: disable xmit_clone on virtual devices
authorEric Dumazet <edumazet@google.com>
Mon, 23 Feb 2015 01:03:41 +0000 (17:03 -0800)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 14 Mar 2015 19:37:12 +0000 (15:37 -0400)
commit539500104f37c687b525eef51efd5cee9efa1c7d
treead4083fe2f1bb3b02865be8d77ccc71e7439ebae
parent4e7a29f315e8a644460e73109c42acc585aeb51e
net: pktgen: disable xmit_clone on virtual devices

[ Upstream commit 52d6c8c6ca125872459054daa70f2f1c698c8e75 ]

Trying to use burst capability (aka xmit_more) on a virtual device
like bonding is not supported.

For example, skb might be queued multiple times on a qdisc, with
various list corruptions.

Fixes: 38b2cf2982dc ("net: pktgen: packet bursting via skb->xmit_more")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/core/pktgen.c