diff options
| author | WANG Cong <xiyou.wangcong@gmail.com> | 2015-07-30 17:12:21 -0700 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-08-25 10:13:55 +0100 |
| commit | 12779f6a85ed8ea76074e43df20fd50cd1bcab36 (patch) | |
| tree | 3f3919c24a875a8ae655ee3be72190727a768af8 /include/uapi | |
| parent | 5fcb259d82da2ea01b3f3eacac7969ee88ff88c3 (diff) | |
act_pedit: check binding before calling tcf_hash_release()
commit 5175f7106cc55a1bcf97bf7d5ba0900017ebcef8 upstream.
When we share an action within a filter, the bind refcnt
should increase, therefore we should not call tcf_hash_release().
Fixes: 1a29321ed045 ("net_sched: act: Dont increment refcnt on replace")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
