]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e35e9274c5650408fdc832a0f1223d24eb6c1cd
tree63926572c730ec566b61cc3eb48019433793b7a6
parent6476e4f648f7936aaa3a50089e77167910327c45
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