[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <51A6522D.2000008@hartkopp.net>
Date: Wed, 29 May 2013 21:08:29 +0200
From: Oliver Hartkopp <socketcan@...tkopp.net>
To: Linux Netdev List <netdev@...r.kernel.org>
Subject: Does rtnl_lock inhibit incoming traffic?
Hello,
AFAIK the rtnl_lock is used (at least) to protect the configuration of
netdevices and routing tables.
Is the reception of incoming traffic inhibited while the rtnl_lock is set, or
would i need to protect the data structures to be modified with an additional
spinlock_bh() / write_lock_bh()?
Like this one here:
http://lxr.linux.no/#linux+v3.9.4/net/ipv6/ip6mr.c#L1573
Regards,
Oliver
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists