Subject: Re: [RFC PATCH net-next 1/3] netlink: add support for formatted extack messages

From: Jakub Kicinski <[email-masked]>
Date: Fri, 7 Oct 2022 11:32:19 -0700

On Fri, 7 Oct 2022 14:46:46 +0100 Edward Cree wrote:
> > That "if (__extack)" check seems a bit strange, you've long crashed with
> > a NPD if it was really NULL?  
> 
> Good point, I blindly copied NL_SET_ERR_MSG without thinking.
> The check should enclose the whole body, will fix in v2.

FWIW you can prolly use break; thanks to the do {} while wrapping.
Maybe that's hacky.