]> asedeno.scripts.mit.edu Git - linux.git/commit
netfilter: xt_IDLETIMER: fix sysfs callback function type
authorSami Tolvanen <samitolvanen@google.com>
Wed, 27 Feb 2019 18:19:10 +0000 (10:19 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 Mar 2019 13:36:57 +0000 (14:36 +0100)
commit20fdaf6e1e313b4efa48243d5250526eb43ea70d
tree5ba7e309354951335d503a30cf76bc420b9342f1
parent2e7b162c5e911050be84c86c6226a5e21bba5771
netfilter: xt_IDLETIMER: fix sysfs callback function type

Use struct device_attribute instead of struct idletimer_tg_attr, and
the correct callback function type to avoid indirect call mismatches
with Control Flow Integrity checking.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_IDLETIMER.c