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: <20140714.151337.573086784322485064.davem@davemloft.net>
Date:	Mon, 14 Jul 2014 15:13:37 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	pshelar@...ira.com
Cc:	netdev@...r.kernel.org, alexw@...ira.com
Subject: Re: [PATCH 01/11] openvswitch: Allow each vport to have an array
 of 'port_id's.

From: Pravin B Shelar <pshelar@...ira.com>
Date: Sun, 13 Jul 2014 17:12:54 -0700

>  void ovs_vport_free(struct vport *vport)
>  {
> +	kfree((struct vport_portids __force *)vport->upcall_portids);

This cast is ugly and never correct for this situation, you need to
use rcu_dereference().
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ