Re: [RFC V1 13/14] net: cleanup for precreate phase

2024-10-23 Thread Steven Sistare
On 10/21/2024 3:20 PM, Peter Xu wrote: On Thu, Oct 17, 2024 at 08:14:14AM -0700, Steve Sistare wrote: Guard against unconfigured state if cleanup is called early, such as during the precreate phase. Signed-off-by: Steve Sistare Reviewed-by: Peter Xu One nitpick.. --- net/net.c | 4 +++-

Re: [RFC V1 13/14] net: cleanup for precreate phase

2024-10-21 Thread Peter Xu
On Thu, Oct 17, 2024 at 08:14:14AM -0700, Steve Sistare wrote: > Guard against unconfigured state if cleanup is called early, such as > during the precreate phase. > > Signed-off-by: Steve Sistare Reviewed-by: Peter Xu One nitpick.. > --- > net/net.c | 4 +++- > 1 file changed, 3 insertions(

Re: [RFC V1 13/14] net: cleanup for precreate phase

2024-10-17 Thread Steven Sistare
cc jason. The cover letter for this series is here: https://lore.kernel.org/qemu-devel/1729178055-207271-1-git-send-email-steven.sist...@oracle.com - Steve On 10/17/2024 11:14 AM, Steve Sistare wrote: Guard against unconfigured state if cleanup is called early, such as during the precreate ph

[RFC V1 13/14] net: cleanup for precreate phase

2024-10-17 Thread Steve Sistare
Guard against unconfigured state if cleanup is called early, such as during the precreate phase. Signed-off-by: Steve Sistare --- net/net.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/net.c b/net/net.c index d9b23a8..207fdb0 100644 --- a/net/net.c +++ b/net/net.c @