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] [day] [month] [year] [list]
Message-ID: <5559ACF1.1080903@ti.com>
Date:	Mon, 18 May 2015 14:42:17 +0530
From:	Mugunthan V N <mugunthanvnm@...com>
To:	Richard Cochran <richardcochran@...il.com>,
	<netdev@...r.kernel.org>
Subject: Re: cpsw_ale clobbers learned addresses?

On Thursday 14 May 2015 01:08 AM, Richard Cochran wrote:
> 
> It appears to me that cpsw_ale.c will possibly clobber addresses
> learned by the switch.   When adding a new entry, the code reads the
> table until it finds an empty entry.  Then, it writes the new value to
> that same index.  However, nothing prevents the switch from using that
> same index between the read and the write.
> 
> Or am I missing something?
> 

There are chances that driver might overwrite address learnt by hardware
which was learnt between the instance getting free index and writing
table. Though the same software overwritten mac id will be updated on
the next packet received with same mac id.

Once driver updates the ALE table with valid entry hardware wont be
updating.

Regards
Mugunthan V N

--
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