All of lore.kernel.org
 help / color / mirror / Atom feed
* Does rtnl_lock inhibit incoming traffic?
@ 2013-05-29 19:08 Oliver Hartkopp
  2013-05-29 20:21 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Hartkopp @ 2013-05-29 19:08 UTC (permalink / raw)
  To: Linux Netdev List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-29 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29 19:08 Does rtnl_lock inhibit incoming traffic? Oliver Hartkopp
2013-05-29 20:21 ` Eric Dumazet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.