net: sched: fix act_ipt for LOG target
authorPhil Sutter <phil@nwl.cc>
Thu, 3 Mar 2016 13:34:14 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2016 03:57:35 +0000 (22:57 -0500)
commit44ef548f4f8bbc739070583f9844ff0cd8fcc6b4
tree63926572c730ec566b61cc3eb48019433793b7a6
parenteb1f420214adf81fd98d9e8df6b60318ef883102
net: sched: fix act_ipt for LOG target

Before calling the destroy() or target() callbacks, the family parameter
field has to be initialized. Otherwise at least the LOG target will
refuse to work and upon removal oops the kernel.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ipt.c