Re: [PATCH] rxrpc: fix uninitialized variable use

From: David Howells
Date: Tue Jun 21 2016 - 06:06:53 EST


Arnd Bergmann <arnd@xxxxxxxx> wrote:

> > I'm actually more tempted to put a BUG() in there because if any new family
> > support (say AF_INET6) is added, I want to make sure I catch all the places.
>
> Makes sense. Do you want to do the patch yourself, or should I send
> a new one doing that?
>
> Maybe WARN() would be better than BUG()? That would still get the attention
> it needs but not kill the process.

I can stick a WARN() into your patch.

David