[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpWdf+K7n+YfZv-+_Cz5b9+kxXV0F0PfYuUyHJ574OEGsA@mail.gmail.com>
Date: Thu, 30 Apr 2020 23:02:14 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Taehee Yoo <ap420073@...il.com>
Cc: Netdev <netdev@...r.kernel.org>,
syzbot <syzbot+aaa6fa4949cc5d9b7b25@...kaller.appspotmail.com>,
Dmitry Vyukov <dvyukov@...gle.com>
Subject: Re: [Patch net-next 1/2] net: partially revert dynamic lockdep key changes
On Thu, Apr 30, 2020 at 12:40 AM Taehee Yoo <ap420073@...il.com> wrote:
> > +static void vlan_dev_set_lockdep_one(struct net_device *dev,
> > + struct netdev_queue *txq,
> > + void *_subclass)
> > +{
> > + lockdep_set_class_and_subclass(&txq->_xmit_lock,
> > + &vlan_netdev_xmit_lock_key,
> > + *(int *)_subclass);
>
> I think lockdep_set_class() is enough.
> How do you think about it?
Good catch. I overlooked this one. Is lockdep_set_class() safe
for vlan stacked on vlan?
Thanks.
Powered by blists - more mailing lists