Files
kernel_google_redbull/net/ax25
Mat Martineau 5465956486 BACKPORT: net: Make sock protocol value checks more specific
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.

Reviewed-by: Eric Dumazet <edumazet@google.com>
Change-Id: I3d1e12f0cd3ddb2db11a2eaad5e3a1a85c59db06
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2025-09-08 17:25:02 +03:00
..
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00
2018-07-24 14:10:42 -07:00
2019-02-23 09:07:27 +01:00
2018-07-24 14:10:42 -07:00