summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2015-05-06 00:22:02 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-09 22:14:04 +0200
commitd744318574090c3b796915d9d710bdb17db191a1 (patch)
tree86814b3ab96984332dc666650a574e835008516c /drivers/net/ethernet/amd
parentdrivers/net/usb: Add support for 'Lenovo OneLink Pro Dock' (diff)
downloadlinux-d744318574090c3b796915d9d710bdb17db191a1.tar.xz
linux-d744318574090c3b796915d9d710bdb17db191a1.zip
net_sched: fix a use-after-free in tc_ctl_tfilter()
When tcf_destroy() returns true, tp could be already destroyed, we should not use tp->next after that. For long term, we probably should move tp list to list_head. Fixes: 1e052be69d04 ("net_sched: destroy proto tp when all filters are gone") 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 'drivers/net/ethernet/amd')
0 files changed, 0 insertions, 0 deletions