Re: [PATCH net-next 7/9] net: ipmr: remove SLAB_PANIC

2015-11-21 Thread Nikolay Aleksandrov
On 11/21/2015 03:23 PM, Eric Dumazet wrote: > On Sat, 2015-11-21 at 14:01 +0100, Nikolay Aleksandrov wrote: >> From: Nikolay Aleksandrov >> >> It's not necessary to panic upon allocation failure, returning an error >> at that point is okay because user-space won't be

[PATCH net-next 7/9] net: ipmr: remove SLAB_PANIC

2015-11-21 Thread Nikolay Aleksandrov
From: Nikolay Aleksandrov It's not necessary to panic upon allocation failure, returning an error at that point is okay because user-space won't be able to use any of the ops since they didn't get registered and the default table is null. Signed-off-by: Nikolay

Re: [PATCH net-next 7/9] net: ipmr: remove SLAB_PANIC

2015-11-21 Thread Eric Dumazet
On Sat, 2015-11-21 at 14:01 +0100, Nikolay Aleksandrov wrote: > From: Nikolay Aleksandrov > > It's not necessary to panic upon allocation failure, returning an error > at that point is okay because user-space won't be able to use any of the > ops since they didn't