Re: [ovs-dev] [PATCH v2 01/16] slab: Remove __malloc attribute from realloc functions

2022-09-29 Thread Geert Uytterhoeven
Hi Michael, On Thu, Sep 29, 2022 at 10:36 AM Michael Ellerman wrote: > Kees Cook writes: > > On Wed, Sep 28, 2022 at 09:26:15AM +0200, Geert Uytterhoeven wrote: > >> On Fri, Sep 23, 2022 at 10:35 PM Kees Cook wrote: > >> > The __malloc attribute should not be

Re: [ovs-dev] [PATCH v2 01/16] slab: Remove __malloc attribute from realloc functions

2022-09-28 Thread Geert Uytterhoeven
> --- a/mm/slab_common.c > +++ b/mm/slab_common.c > @@ -1134,8 +1134,8 @@ module_init(slab_proc_init); > > #endif /* CONFIG_SLAB || CONFIG_SLUB_DEBUG */ > > -static __always_inline void *__do_krealloc(const void *p, size_t new_size, > - g

Re: [ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Geert Uytterhoeven
Hi Toke, On Fri, Apr 24, 2020 at 6:45 PM Toke Høiland-Jørgensen wrote: > Geert Uytterhoeven writes: > > On Fri, Apr 24, 2020 at 5:05 PM Eric Dumazet wrote: > >> On 4/24/20 5:10 AM, Geert Uytterhoeven wrote: > >> > On 32-bit architectures (e.g. m68k): &g

Re: [ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Geert Uytterhoeven
Hi Eric, On Fri, Apr 24, 2020 at 5:05 PM Eric Dumazet wrote: > On 4/24/20 5:10 AM, Geert Uytterhoeven wrote: > > On 32-bit architectures (e.g. m68k): > > > > ERROR: modpost: "__udivdi3" [net/openvswitch/openvswitch.ko] undefined! > > ERROR:

[ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Geert Uytterhoeven
ted-by: nore...@ellerman.id.au Signed-off-by: Geert Uytterhoeven --- net/openvswitch/meter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openvswitch/meter.c b/net/openvswitch/meter.c index 915f31123f235c03..3498a5ab092ab2b8 100644 --- a/net/openvswitch/meter.c +++ b/net

[ovs-dev] [PATCH] openvswitch: Replace removed NF_NAT_NEEDED with IS_ENABLED(CONFIG_NF_NAT)

2019-05-08 Thread Geert Uytterhoeven
Commit 4806e975729f99c7 ("netfilter: replace NF_NAT_NEEDED with IS_ENABLED(CONFIG_NF_NAT)") removed CONFIG_NF_NAT_NEEDED, but a new user popped up afterwards. Fixes: fec9c271b8f1bde1 ("openvswitch: load and reference the NAT helper.") Signed-off-by: Geert Uytterhoeven