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-next>] [day] [month] [year] [list]
Message-Id: <20230613122420.855486-1-piotrx.gardocki@intel.com>
Date: Tue, 13 Jun 2023 14:24:17 +0200
From: Piotr Gardocki <piotrx.gardocki@...el.com>
To: netdev@...r.kernel.org
Cc: piotrx.gardocki@...el.com,
	intel-wired-lan@...ts.osuosl.org,
	przemyslaw.kitszel@...el.com,
	michal.swiatkowski@...ux.intel.com,
	pmenzel@...gen.mpg.de,
	kuba@...nel.org,
	maciej.fijalkowski@...el.com,
	anthony.l.nguyen@...el.com,
	simon.horman@...igine.com,
	aleksander.lobakin@...el.com
Subject: [PATCH net-next v2 0/3] optimize procedure of changing MAC address on interface

The first patch adds an if statement in core to skip early when
the MAC address is not being changes.
The remaining patches remove such checks from Intel drivers
as they're redundant at this point.

v2: modified check in core to support addresses of any length,
removed redundant checks in i40e and ice

Piotr Gardocki (3):
  net: add check for current MAC address in dev_set_mac_address
  i40e: remove unnecessary check for old MAC == new MAC
  ice: remove unnecessary check for old MAC == new MAC

 drivers/net/ethernet/intel/i40e/i40e_main.c | 6 ------
 drivers/net/ethernet/intel/ice/ice_main.c   | 5 -----
 net/core/dev.c                              | 2 ++
 3 files changed, 2 insertions(+), 11 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ