• A
    net: ipa: use a bitmap for set-up endpoints · ae5108e9
    Alex Elder 提交于
    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: NAlex Elder <elder@linaro.org>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    ae5108e9
ipa.h 5.8 KB