lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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