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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190409102559.28cbb37a@carbon>
Date:   Tue, 9 Apr 2019 10:25:59 +0200
From:   Jesper Dangaard Brouer <brouer@...hat.com>
To:     Toke Høiland-Jørgensen <toke@...hat.com>
Cc:     David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
        Daniel Borkmann <daniel@...earbox.net>,
        Alexei Starovoitov <ast@...nel.org>,
        Jakub Kicinski <jakub.kicinski@...ronome.com>,
        BjörnTöpel <bjorn.topel@...il.com>,
        brouer@...hat.com
Subject: Re: [PATCH net-next v4 4/6] xdp: Always use a devmap for
 XDP_REDIRECT to a device

On Mon, 08 Apr 2019 19:05:56 +0200 Toke Høiland-Jørgensen <toke@...hat.com> wrote:

> +void dev_map_put_default_map(struct net *net)
> +{
> +        mutex_lock(&dev_map_mtx);

Looks like a white-space error...

> +	if (atomic_dec_and_test(&net->xdp.default_map.use_cnt)) {
> +		__dev_map_release_default_map(&net->xdp.default_map);
> +	}
> +        mutex_unlock(&dev_map_mtx);

And here again.

> +}

-- 
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  LinkedIn: http://www.linkedin.com/in/brouer

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ