Messages in this thread | | | From | Kees Cook <> | Date | Thu, 5 Oct 2017 11:15:40 -0700 | Subject | Re: [PATCH] netfilter: ipset: Convert timers to use timer_setup() |
| |
On Thu, Oct 5, 2017 at 6:58 AM, Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> wrote: > Hi, > > On Wed, 4 Oct 2017, Kees Cook wrote: > >> In preparation for unconditionally passing the struct timer_list pointer >> to all timer callbacks, switch to using the new timer_setup() and >> from_timer() to pass the timer pointer explicitly. This introduces a >> pointer back to the struct ip_set, which is used instead of the struct >> timer_list .data field. > > Please add the same changes to net/netfilter/ipset/ip_set_list.c too, in > order to handle all ipset modules in a single patch. I don't see a way > either to avoid the introduction of the new pointer.
Ah yes, thanks. I'll send a v2 with that included.
-Kees
-- Kees Cook Pixel Security
| |