RE: [PATCH net-next 2/2] net: socket: change MSG_CMSG_COMPAT to BIT(21)

2021-03-22 Thread David Laight
From: Herbert Xu > Sent: 21 March 2021 12:49 > > On Sun, Mar 21, 2021 at 08:39:29PM +0800, menglong8.d...@gmail.com wrote: > > > > diff --git a/include/linux/socket.h b/include/linux/socket.h > > index d5ebfe30d96b..317b2933f499 100644 > > --- a/include/linux/socket.h > > +++ b/include/linux/socke

Re: [PATCH net-next 2/2] net: socket: change MSG_CMSG_COMPAT to BIT(21)

2021-03-21 Thread Menglong Dong
On Sun, Mar 21, 2021 at 8:49 PM Herbert Xu wrote: > ... > > Shouldn't you add some comment here to stop people from trying to > use BIT(31) in the future? > > Thanks, Yeah, I think it's necessary. Thank you for your reminder~ With Regards, Menglong Dong

Re: [PATCH net-next 2/2] net: socket: change MSG_CMSG_COMPAT to BIT(21)

2021-03-21 Thread Herbert Xu
On Sun, Mar 21, 2021 at 08:39:29PM +0800, menglong8.d...@gmail.com wrote: > > diff --git a/include/linux/socket.h b/include/linux/socket.h > index d5ebfe30d96b..317b2933f499 100644 > --- a/include/linux/socket.h > +++ b/include/linux/socket.h > @@ -312,17 +312,18 @@ struct ucred { >