• Stephen Hemminger's avatar
    [PATCH] (3/4) dlci locking and registration changes · efb377f6
    Stephen Hemminger authored
    Change the locking for the dlci device list and registration.
    - use RTNL instead of a private lock (needed for net notifier in next patch).
    - reorder the checks in the dlci_add to avoid complicated unwinds
    - use dev->destructor to free
    - hold RTNL around deassoc to protect callback from races
    efb377f6
dlci.c 10.7 KB