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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 17 Feb 2020 22:39:27 +0100 From: Heiner Kallweit <hkallweit1@...il.com> To: David Miller <davem@...emloft.net>, Realtek linux nic maintainers <nic_swsd@...ltek.com>, Jay Cliburn <jcliburn@...il.com>, Chris Snook <chris.snook@...il.com>, Rasesh Mody <rmody@...vell.com>, Sudarsana Kalluru <skalluru@...vell.com>, GR-Linux-NIC-Dev@...vell.com, Christian Benvenuti <benve@...co.com>, Govindarajulu Varadarajan <_govind@....com>, Parvi Kaustubhi <pkaustub@...co.com>, Jeff Kirsher <jeffrey.t.kirsher@...el.com>, Guo-Fu Tseng <cooldavid@...ldavid.org>, Shannon Nelson <snelson@...sando.io>, Pensando Drivers <drivers@...sando.io>, Timur Tabi <timur@...nel.org>, Jassi Brar <jaswinder.singh@...aro.org>, Ilias Apalodimas <ilias.apalodimas@...aro.org>, "K. Y. Srinivasan" <kys@...rosoft.com>, Haiyang Zhang <haiyangz@...rosoft.com>, Stephen Hemminger <sthemmin@...rosoft.com>, Sasha Levin <sashal@...nel.org>, Ronak Doshi <doshir@...are.com>, "VMware, Inc." <pv-drivers@...are.com> Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, intel-wired-lan@...ts.osuosl.org, linux-hyperv@...r.kernel.org, Linux USB Mailing List <linux-usb@...r.kernel.org> Subject: [PATCH net-next 0/3] net: core: add helper tcp_v6_gso_csum_prep Several network drivers for chips that support TSO6 share the same code for preparing the TCP header. A difference is that some reset the payload_len whilst others don't do this. Let's factor out this common code to a new helper. Heiner Kallweit (3): net: core: add helper tcp_v6_gso_csum_prep r8169: use new helper tcp_v6_gso_csum_prep net: use new helper tcp_v6_gso_csum_prep drivers/net/ethernet/atheros/alx/main.c | 5 +--- .../net/ethernet/atheros/atl1c/atl1c_main.c | 6 ++--- drivers/net/ethernet/brocade/bna/bnad.c | 7 +---- drivers/net/ethernet/cisco/enic/enic_main.c | 3 +-- drivers/net/ethernet/intel/e1000/e1000_main.c | 6 +---- drivers/net/ethernet/intel/e1000e/netdev.c | 5 +--- drivers/net/ethernet/jme.c | 7 +---- .../net/ethernet/pensando/ionic/ionic_txrx.c | 5 +--- drivers/net/ethernet/qualcomm/emac/emac-mac.c | 7 ++--- drivers/net/ethernet/realtek/r8169_main.c | 26 ++----------------- drivers/net/ethernet/socionext/netsec.c | 6 +---- drivers/net/hyperv/netvsc_drv.c | 5 +--- drivers/net/usb/r8152.c | 26 ++----------------- drivers/net/vmxnet3/vmxnet3_drv.c | 5 +--- include/net/ip6_checksum.h | 12 +++++++++ 15 files changed, 30 insertions(+), 101 deletions(-) -- 2.25.0
Powered by blists - more mailing lists