RE: [PATCH] net: socket: Exit earlier from __sock_create if CONFIG_IPV6 is disabled

2019-04-24 Thread Elmahrad, Abdelghani
deal with this...upstream. -Original Message- From: Bai, Haiqing Sent: April 23, 2019 11:02 PM To: David Miller Cc: netdev@vger.kernel.org; Elmahrad, Abdelghani Subject: RE: [PATCH] net: socket: Exit earlier from __sock_create if CONFIG_IPV6 is disabled Actually I know this clearly,

RE: [PATCH] net: socket: Exit earlier from __sock_create if CONFIG_IPV6 is disabled

2019-04-23 Thread Bai, Haiqing
[mailto:da...@davemloft.net] Sent: 2019年4月24日 9:43 To: Bai, Haiqing Cc: netdev@vger.kernel.org; Elmahrad, Abdelghani Subject: Re: [PATCH] net: socket: Exit earlier from __sock_create if CONFIG_IPV6 is disabled From: Haiqing Bai Date: Tue, 23 Apr 2019 17:00:23 +0800 > diff --git a/net/socket.

Re: [PATCH] net: socket: Exit earlier from __sock_create if CONFIG_IPV6 is disabled

2019-04-23 Thread David Miller
From: Haiqing Bai Date: Tue, 23 Apr 2019 17:00:23 +0800 > diff --git a/net/socket.c b/net/socket.c > index 8255f5bda0aa..7927c2bcad65 100644 > --- a/net/socket.c > +++ b/net/socket.c > @@ -1339,6 +1339,11 @@ int __sock_create(struct net *net, int family, int > type, int protocol, > if (typ