[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1371659690.3252.335.camel@edumazet-glaptop>
Date: Wed, 19 Jun 2013 09:34:50 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: vyasevic@...hat.com
Cc: netdev@...r.kernel.org, davem@...emloft.net, mst@...hat.com,
jasowang@...hat.com
Subject: Re: [PATCH net-next 1/2] macvtap: Let TUNSETOFFLOAD actually
controll offload features.
On Wed, 2013-06-19 at 12:20 -0400, Vlad Yasevich wrote:
> That's the issue. RTNL is not owned in the ioctl case.
So it was clearly wrong. The fix was simply to get RTNL in ioctl.
Unfortunately this was not spotted earlier, this is not a reason to add
more kludge.
RTNL is the only mutex needed for the write path.
A management path using RCU_BH and RTNL and a spinlock is wrong.
--
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