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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1461142655-5067-1-git-send-email-nicolas.dichtel@6wind.com>
Date:	Wed, 20 Apr 2016 10:57:31 +0200
From:	Nicolas Dichtel <nicolas.dichtel@...nd.com>
To:	netdev@...r.kernel.org
Cc:	davem@...emloft.net, roopa@...ulusnetworks.com,
	eric.dumazet@...il.com, tgraf@...g.ch, jhs@...atatu.com
Subject: [PATCH net-next 0/4] libnl: enhance API to ease 64bit alignment for attribute


Here is a proposal to add more helpers in the libnetlink to manage 64-bit
alignment issues.
Note that this series was only tested on x86.

The first patch is a fix (bug seen by code review only unless I've missed
something).
The second patch adds helpers and uses it for IFLA_STATS64.
The last two patches use the new API to align mcast stats.

We could also add helpers for nla_put_u64() and its variants.

 include/net/netlink.h          |  10 +++-
 include/uapi/linux/rtnetlink.h |   1 +
 lib/nlattr.c                   | 107 +++++++++++++++++++++++++++++++++++++++++
 net/core/rtnetlink.c           |   9 +---
 net/ipv4/ipmr.c                |   4 +-
 net/ipv6/ip6mr.c               |   4 +-
 6 files changed, 123 insertions(+), 12 deletions(-)

Comments are welcomed,
Regards,
Nicolas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ