]> 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)
commitb3ba3fdacdfdae592db65529734a0c386817decd
tree63926572c730ec566b61cc3eb48019433793b7a6
parent9a1816b84749a2b73dbb8ff98fc4edb63fb42563
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