net sched filters: fix filter handle ID in tfilter_notify_chain()
authorRoman Mashak <mrv@mojatatu.com>
Wed, 23 Nov 2016 01:57:04 +0000 (20:57 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2016 21:05:58 +0000 (16:05 -0500)
commit19a8bb28d1c66670a2aebf9c78ec21c0b942f4b8
tree27749fb0145caa1efb02835dda6e693acf6623a9
parent76da8706d90d8641eeb9b8e579942ed80b6c0880
net sched filters: fix filter handle ID in tfilter_notify_chain()

Should pass valid filter handle, not the netlink flags.

Fixes: 30a391a13ab92 ("net sched filters: pass netlink message flags in event notification")
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reported-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c