OSDN Git Service

rtnetlink: add RTNL_FLAG_DOIT_UNLOCKED
authorFlorian Westphal <fw@strlen.de>
Wed, 9 Aug 2017 18:41:52 +0000 (20:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 23:57:38 +0000 (16:57 -0700)
commit62256f98f244fbb1c7a10465e1ee412f209d8978
tree89b1dff314d7b5fd1e10c24ef3971f51abe9c624
parent6853dd488119a42d01ad994060dc10b95c687c76
rtnetlink: add RTNL_FLAG_DOIT_UNLOCKED

Allow callers to tell rtnetlink core that its doit callback
should be invoked without holding rtnl mutex.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/rtnetlink.h
net/core/rtnetlink.c