X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fcore%2Fdev.c;h=24ea2d71e7eac37000285ea5cd348e1ecb14f156;hb=eb487ab4d5af0caee81bfaaa5d87b55844f60145;hp=7c6a46f803724633e6539c81186f4ff955f0e297;hpb=bf67b9be97baea84386abca38b2503bb286571dc;p=karo-tx-linux.git diff --git a/net/core/dev.c b/net/core/dev.c index 7c6a46f80372..24ea2d71e7ea 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -749,7 +749,8 @@ EXPORT_SYMBOL(dev_get_by_index); * @ha: hardware address * * Search for an interface by MAC address. Returns NULL if the device - * is not found or a pointer to the device. The caller must hold RCU + * is not found or a pointer to the device. + * The caller must hold RCU or RTNL. * The returned device has not had its ref count increased * and the caller must therefore be careful about locking *