]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2015 03:43:20 +0000 (22:43 -0500)
commitfb2d23a12e32bf286dbfd1eaee786829ae0d8df2
treeaf878f4a4180cf1d233d190b0c73fae9fd0e99f7
parent8aff865a87e8c69e290752c043439b08869cac93
net: pktgen: disable xmit_clone on virtual devices

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: c3305b433a03 ("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>
net/core/pktgen.c