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]
Date:   Tue, 30 Apr 2019 21:17:51 -0700
From:   Matthew Wilcox <willy@...radead.org>
To:     davem@...emloft.net
Cc:     "Matthew Wilcox (Oracle)" <willy@...radead.org>, hch@....de,
        netdev@...r.kernel.org
Subject: [PATCH 0/5] Beginnings of skb_frag -> bio_vec conversion

From: "Matthew Wilcox (Oracle)" <willy@...radead.org>

It turns out there's a lot of accessors for the skb_frag, which would
make this conversion really easy if some drivers didn't bypass them.
This is what I've done so far; my laptop's not really beefy enough to
cope with changing skbuff.h too often ;-)

This would be a great time to tell me I'm going about this all wrong.
I already found one problem in this patch set; some of the drivers should
have been converted to skb_frag_dma_map() instead of fixing the arguments
to dma_map_page().  But anyway, I need sleep.

Matthew Wilcox (Oracle) (5):
  net: Increase the size of skb_frag_t
  net: Reorder the contents of skb_frag_t
  net: Include bvec.h in skbuff.h
  net: Use skb accessors for skb->page
  net: Rename skb_frag page to bv_page

 drivers/hsi/clients/ssi_protocol.c            |  3 ++-
 .../net/ethernet/cavium/liquidio/lio_main.c   |  2 +-
 .../ethernet/cavium/liquidio/lio_vf_main.c    |  2 +-
 drivers/net/ethernet/freescale/fec_main.c     |  2 +-
 drivers/net/ethernet/marvell/mvneta.c         |  2 +-
 .../net/ethernet/marvell/mvpp2/mvpp2_main.c   |  2 +-
 drivers/net/ethernet/qualcomm/emac/emac-mac.c |  3 ++-
 drivers/net/usb/usbnet.c                      |  2 +-
 drivers/net/xen-netback/netback.c             |  4 ++--
 drivers/staging/octeon/ethernet-tx.c          |  3 +--
 drivers/target/iscsi/cxgbit/cxgbit_target.c   |  6 +++---
 include/linux/skbuff.h                        | 20 +++++++------------
 net/core/skbuff.c                             |  8 ++++----
 net/core/tso.c                                |  4 ++--
 net/kcm/kcmsock.c                             |  2 +-
 net/tls/tls_device.c                          |  4 ++--
 16 files changed, 32 insertions(+), 37 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ