diff options
| author | Mat Martineau <[email protected]> | 2020-01-09 07:59:14 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-01-09 18:41:40 -0800 |
| commit | e9cdced78dc20c1592c1fb98ed064943007a46c5 (patch) | |
| tree | 733872a3d2f4cc0aac217f383b1d69e91879ba61 /tools/perf/scripts/python | |
| parent | 6b3acfc3cc3d54a99cc5148960edfc38c94a93f2 (diff) | |
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 <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions