net_sched: always clone skbs
authorChangli Gao <xiaosuo@gmail.com>
Mon, 20 Dec 2010 04:35:30 +0000 (04:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2010 18:27:19 +0000 (10:27 -0800)
commit173021072e86a0a5b3d2271347493a3e0d5f68e8
tree36b0fbef794fd5ea4d72b6c59aec4779236b5374
parentad0081e43af6de3fecf308b0d098f9611835766b
net_sched: always clone skbs

Pawel reported a panic related to handling shared skbs in ixgbe
incorrectly. So we need to revert my previous patch to work around
this bug. Instead of reverting the patch completely, I just revert
the essential lines, so we can add the previous optimization
back more easily in future.

    commit 3511c9132f8b1e1b5634e41a3331c44b0c13be70
    Author: Changli Gao <xiaosuo@gmail.com>
    Date:   Sat Oct 16 13:04:08 2010 +0000

        net_sched: remove the unused parameter of qdisc_create_dflt()

Reported-by: Pawel Staszewski <pstaszewski@itcare.pl>
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h