summaryrefslogtreecommitdiffstats
path: root/net/sched/ematch.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2014-10-06 17:21:54 -0700
committerDavid S. Miller <davem@davemloft.net>2014-10-08 15:41:27 -0400
commit5301e3e117d88ef0967ce278912e54757f1a31a2 (patch)
treed01c6b0f9de9eb79dad2121ca86032c20f0a4576 /net/sched/ematch.c
parentc3a803e81713c8d1f3a79afdc35014f3f9f07561 (diff)
downloadlinux-5301e3e117d88ef0967ce278912e54757f1a31a2.tar.gz
linux-5301e3e117d88ef0967ce278912e54757f1a31a2.tar.bz2
linux-5301e3e117d88ef0967ce278912e54757f1a31a2.zip
net_sched: copy exts->type in tcf_exts_change()
We need to copy exts->type when committing the change, otherwise it would be always 0. This is a quick fix for -net and -stable, for net-next tcf_exts will be removed. Fixes: commit 33be627159913b094bb578e83 ("net_sched: act: use standard struct list_head") Reported-by: Jamal Hadi Salim <jhs@mojatatu.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: John Fastabend <john.fastabend@gmail.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/ematch.c')
0 files changed, 0 insertions, 0 deletions