aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-11-02 17:11:38 -0500
committerDavid S. Miller <davem@davemloft.net>2022-11-04 10:16:53 +0000
commitae5108e9b7fa255e67323b70e37264a5ec7f1a62 (patch)
treed6b3884e05d61fb536edb6199825f20280b1343a /drivers/net/phy/phy.c
parentnet: ipa: support more filtering endpoints (diff)
downloadwireguard-linux-ae5108e9b7fa255e67323b70e37264a5ec7f1a62.tar.xz
wireguard-linux-ae5108e9b7fa255e67323b70e37264a5ec7f1a62.zip
net: ipa: use a bitmap for set-up endpoints
Replace the 32-bit unsigned used to track endpoints that have completed setup with a Linux bitmap, to allow an arbitrary number of endpoints to be represented. Rework the error handling in ipa_endpoint_init() so the defined endpoint bitmap is freed if an error occurs early. Once endpoints have been initialized, ipa_endpoint_exit() is used to recover if the set of filtered endpoints is invalid. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions