[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce72abad-ef13-ffee-8dca-0efddd1ccb2c@gmail.com>
Date: Fri, 20 Dec 2019 07:35:27 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Mat Martineau <mathew.j.martineau@...ux.intel.com>,
netdev@...r.kernel.org, mptcp@...ts.01.org
Subject: Re: [PATCH net-next v5 01/11] net: Make sock protocol value checks
more specific
On 12/19/19 2:34 PM, Mat Martineau wrote:
> SK_PROTOCOL_MAX is only used in two places, for DECNet and AX.25. The
> limits have more to do with the those protocol definitions than they do
> with the data type of sk_protocol, so remove SK_PROTOCOL_MAX and use
> U8_MAX directly.
>
> Signed-off-by: Mat Martineau <mathew.j.martineau@...ux.intel.com>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists