]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c5c3ef1632563b8edf48ad72d1c91202dad7dfb
tree36b0fbef794fd5ea4d72b6c59aec4779236b5374
parent68a232defbcd1fa4d81284cf549c244d0a55a32d
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 28480b28a283fa66a6e96a573807a3a510d2d0e8
    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