netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ethtool PATCH v4 00/11] add support for new ETHTOOL_xLINKSETTINGS ioctls
@ 2016-03-11 17:58 David Decotigny
  2016-03-11 17:58 ` [ethtool PATCH v4 01/11] internal.h: change to new sane kernel headers on 64-bit archs David Decotigny
                   ` (11 more replies)
  0 siblings, 12 replies; 22+ messages in thread
From: David Decotigny @ 2016-03-11 17:58 UTC (permalink / raw)
  To: netdev
  Cc: Jeff Garzik, Ben Hutchings, David Miller, Vidya Sagar Ravipati,
	Joe Perches, David Decotigny

From: David Decotigny <decot@googlers.com>

This adds support for the new ETHTOOL_xLINKSETTINGS ioctls. This also
fixes a few compilation warnings as well as a heap corruption bug.

History:
  v4
    review Ben Hutchings:
      using AF_UNIX instead of INET6 in the absence of v4 sockets
      use stdbool.h
      do_seeprom always fails when offset/length out of bounds
      sync to latest ethtool.h + kernel.h from net-next
      __SANE_USERSPACE_TYPES__ always defined
      cosmetic updates for var == const tests
      cosmetic updates for associativity in tests
  v3
    TRUE/FALSE obvious-ification
  v2
    added do_seeprom patch
    added netdev@ as recipient
  v1
    initial submission

############################################
# Patch Set Summary:

David Decotigny (7):
  ethtool.c: don't ignore fread() return value
  ethtool.c: fix dump_regs heap corruption
  ethtool.c: do_seeprom checks for params & stdin sanity
  kernel-copy.h: import kernel.h from net-next and use it
  ethtool-copy.h: sync with net-next
  ethtool.c: add support for ETHTOOL_xLINKSETTINGS ioctls
  ethtool.c: support absence of v4 sockets

Maciej Żenczykowski (4):
  internal.h: change to new sane kernel headers on 64-bit archs
  marvell.c: fix strict alias warnings
  test-common.c: fix test_realloc(NULL, ...)
  test-features.c: add braces around array initialization

 ethtool-copy.h  | 478 ++++++++++++++++++++++++++++++------
 ethtool.c       | 751 ++++++++++++++++++++++++++++++++++++++++++--------------
 internal.h      |  77 +++++-
 kernel-copy.h   |  14 ++
 marvell.c       |  21 +-
 test-cmdline.c  |  12 +
 test-common.c   |   2 +-
 test-features.c |   2 +-
 8 files changed, 1086 insertions(+), 271 deletions(-)
 create mode 100644 kernel-copy.h

-- 
2.7.0.rc3.207.g0ac5344

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [ethtool PATCH v4 00/11] add support for new ETHTOOL_xLINKSETTINGS ioctls
@ 2016-03-08  3:34 David Decotigny
  2016-03-08  3:34 ` [ethtool PATCH v4 05/11] marvell.c: fix strict alias warnings David Decotigny
  0 siblings, 1 reply; 22+ messages in thread
From: David Decotigny @ 2016-03-08  3:34 UTC (permalink / raw)
  To: netdev
  Cc: Jeff Garzik, Ben Hutchings, David Miller, Vidya Sagar Ravipati,
	Joe Perches, David Decotigny

From: David Decotigny <decot@googlers.com>

This adds support for the new ETHTOOL_xLINKSETTINGS ioctls. This also
fixes a few compilation warnings as well as a heap corruption bug.

History:
  v4
    review Ben Hutchings:
      using AF_UNIX instead of INET6 in the absence of v4 sockets
      use stdbool.h
      do_seeprom always fails when offset/length out of bounds
      sync to latest ethtool.h + kernel.h from net-next
      __SANE_USERSPACE_TYPES__ always defined
      cosmetic updates for var == const tests
      cosmetic updates for associativity in tests
  v3
    TRUE/FALSE obvious-ification
  v2
    added do_seeprom patch
    added netdev@ as recipient
  v1
    initial submission

############################################
# Patch Set Summary:

David Decotigny (7):
  ethtool.c: don't ignore fread() return value
  ethtool.c: fix dump_regs heap corruption
  ethtool.c: do_seeprom checks for params & stdin sanity
  kernel-copy.h: import kernel.h from net-next and use it
  ethtool-copy.h: sync with net-next
  ethtool.c: add support for ETHTOOL_xLINKSETTINGS ioctls
  ethtool.c: support absence of v4 sockets

Maciej Żenczykowski (4):
  internal.h: change to new sane kernel headers on 64-bit archs
  marvell.c: fix strict alias warnings
  test-common.c: fix test_realloc(NULL, ...)
  test-features.c: add braces around array initialization

 ethtool-copy.h  | 478 ++++++++++++++++++++++++++++++------
 ethtool.c       | 751 ++++++++++++++++++++++++++++++++++++++++++--------------
 internal.h      |  77 +++++-
 kernel-copy.h   |  14 ++
 marvell.c       |  21 +-
 test-cmdline.c  |  12 +
 test-common.c   |   2 +-
 test-features.c |   2 +-
 8 files changed, 1086 insertions(+), 271 deletions(-)
 create mode 100644 kernel-copy.h

-- 
2.7.0.rc3.207.g0ac5344

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-03-15 23:48 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 17:58 [ethtool PATCH v4 00/11] add support for new ETHTOOL_xLINKSETTINGS ioctls David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 01/11] internal.h: change to new sane kernel headers on 64-bit archs David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 02/11] ethtool.c: don't ignore fread() return value David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 03/11] ethtool.c: fix dump_regs heap corruption David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 04/11] ethtool.c: do_seeprom checks for params & stdin sanity David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 05/11] marvell.c: fix strict alias warnings David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 06/11] test-common.c: fix test_realloc(NULL, ...) David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 07/11] test-features.c: add braces around array initialization David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 08/11] kernel-copy.h: import kernel.h from net-next and use it David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 09/11] ethtool-copy.h: sync with net-next David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 10/11] ethtool.c: add support for ETHTOOL_xLINKSETTINGS ioctls David Decotigny
2016-03-14  1:32   ` Ben Hutchings
2016-03-14 16:43     ` David Laight
2016-03-15 23:42     ` David Decotigny
2016-03-15 23:47       ` David Decotigny
2016-03-11 17:58 ` [ethtool PATCH v4 11/11] ethtool.c: support absence of v4 sockets David Decotigny
2016-03-13 17:24   ` Ben Hutchings
2016-03-15 23:19     ` David Decotigny
2016-03-15 23:23       ` Ben Hutchings
2016-03-13 17:30 ` [ethtool PATCH v4 00/11] add support for new ETHTOOL_xLINKSETTINGS ioctls Ben Hutchings
2016-03-14  0:27   ` Ben Hutchings
  -- strict thread matches above, loose matches on Subject: below --
2016-03-08  3:34 David Decotigny
2016-03-08  3:34 ` [ethtool PATCH v4 05/11] marvell.c: fix strict alias warnings David Decotigny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).