• Eric Dumazet's avatar
    be2net: do not call napi_hash_del() · ea339343
    Eric Dumazet authored
    Calling napi_hash_del() before netif_napi_del() is dangerous
    if a synchronize_rcu() is not enforced before NAPI struct freeing.
    
    Lets leave this detail to core networking stack and feel
    more comfortable.
    Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
    Cc: Sathya Perla <sathya.perla@broadcom.com>
    Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>
    Cc: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
    Cc: Somnath Kotur <somnath.kotur@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ea339343
be_main.c 160 KB