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
| ||
|
Message-ID: <PH0PR11MB501320F5FBB449D2471A741A96C4A@PH0PR11MB5013.namprd11.prod.outlook.com> Date: Tue, 3 Oct 2023 07:57:00 +0000 From: "Buvaneswaran, Sujai" <sujai.buvaneswaran@...el.com> To: Marcin Szycik <marcin.szycik@...ux.intel.com>, "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org> CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "Kitszel, Przemyslaw" <przemyslaw.kitszel@...el.com>, Michal Swiatkowski <michal.swiatkowski@...ux.intel.com> Subject: RE: [Intel-wired-lan] [PATCH iwl-net] ice: block default rule setting on LAG interface > -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of > Marcin Szycik > Sent: Friday, September 15, 2023 9:05 PM > To: intel-wired-lan@...ts.osuosl.org > Cc: netdev@...r.kernel.org; Marcin Szycik <marcin.szycik@...ux.intel.com>; > Kitszel, Przemyslaw <przemyslaw.kitszel@...el.com>; Michal Swiatkowski > <michal.swiatkowski@...ux.intel.com> > Subject: [Intel-wired-lan] [PATCH iwl-net] ice: block default rule setting on > LAG interface > > From: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com> > > When one of the LAG interfaces is in switchdev mode, setting default rule > can't be done. > > The interface on which switchdev is running has ice_set_rx_mode() blocked > to avoid default rule adding (and other rules). The other interfaces (without > switchdev running but connected via bond with interface that runs > switchdev) can't follow the same scheme, because rx filtering needs to be > disabled when failover happens. Notification for bridge to set promisc mode > seems like good place to do that. > > Fixes: bb52f42acef6 ("ice: Add driver support for firmware changes for LAG") > Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com> > Signed-off-by: Marcin Szycik <marcin.szycik@...ux.intel.com> > Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com> > Reviewed-by: Wojciech Drewek <wojciech.drewek@...el.com> > --- > drivers/net/ethernet/intel/ice/ice_lag.c | 32 ++++++++++++++++++++++++ > drivers/net/ethernet/intel/ice/ice_lag.h | 1 + > drivers/net/ethernet/intel/ice/ice_lib.c | 6 +++++ > 3 files changed, 39 insertions(+) > Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@...el.com>
Powered by blists - more mailing lists