aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2022-10-27 07:26:32 -0500
committerJakub Kicinski <[email protected]>2022-10-28 22:06:48 -0700
commitb7aaff0b010ede619bdea22118d4a2f9aa966867 (patch)
tree5f75414aab52e7c77f64ab8c5b420e67bb42f009 /net/unix/sysctl_net_unix.c
parent5274c7158b2b6661f43883617ce638200312412b (diff)
net: ipa: record and use the number of defined endpoint IDs
Define a new field in the IPA structure that records the maximum number of entries that will be used in the IPA endpoint array. Use that value rather than IPA_ENDPOINT_MAX to determine the end condition for two loops that iterate over all endpoints. Signed-off-by: Alex Elder <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions