summaryrefslogtreecommitdiff
path: root/net/sched/sch_fifo.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2015-09-23 03:01:11 +0300
committerDavid S. Miller <davem@davemloft.net>2015-09-25 00:33:30 +0300
commitd8aecb10115497f6cdf841df8c88ebb3ba25fa28 (patch)
tree25d7f2d7956f8e5bf7efdf24d951953bf3220ee1 /net/sched/sch_fifo.c
parent8fe79c60a2932b8c8e1a55ac6847467dcd41af0e (diff)
downloadlinux-d8aecb10115497f6cdf841df8c88ebb3ba25fa28.tar.xz
net: revert "net_sched: move tp->root allocation into fw_init()"
fw filter uses tp->root==NULL to check if it is the old method, so it doesn't need allocation at all in this case. This patch reverts the offending commit and adds some comments for old method to make it obvious. Fixes: 33f8b9ecdb15 ("net_sched: move tp->root allocation into fw_init()") Reported-by: Akshat Kakkar <akshat.1984@gmail.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_fifo.c')
0 files changed, 0 insertions, 0 deletions