Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 33be627 ("net_sched: act: use standard struct list_head") Reported-by: Jamal Hadi Salim <[email protected]> Cc: Jamal Hadi Salim <[email protected]> Cc: John Fastabend <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information