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]
Date:	Thu, 27 Jun 2013 09:03:06 +0200
From:	Daniel Borkmann <dborkman@...hat.com>
To:	Cong Wang <amwang@...hat.com>
CC:	netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>
Subject: Re: [RFC Patch net-next 0/5] net: introduce generic type and helpers
 for IP address

Hi Amerigo,

On 06/27/2013 08:43 AM, Cong Wang wrote:
> As IPv6 becomes popular, more and more subsystems begin to support IPv6,
> therefore we need a generic IP address type, in case of duplicates.
> Also we will also need some helpers to compare, print, check the generic
> IP address.
>
> This patchset introduce a new type union inet_addr as a union of IPv4
> and IPv6 address, and some helper functions that will be used by existing
> code and in the future VXLAN module.
>
> This patchset only does compile test, since it is still RFC.

This patch already does that which I've sent yesterday before yours ...

   [PATCH net-next 1/2] lib: vsprintf: add IPv4/v6 generic %pig/%pIg format specifier

... and resend with the set today in the morning as v2 with provided
feedback applied. Can't you base yours on top of that?

Thanks !

> Cong Wang (5):
>    net: introduce generic union inet_addr
>    net: introduce generic inet_pton()
>    inetpeer: use generic union inet_addr
>    sunrpc: use generic union inet_addr
>    nfs,cifs: abstract generic inet_addr_equal_strict()
>
>   Documentation/printk-formats.txt |    9 ++
>   drivers/net/netconsole.c         |   22 +++---
>   fs/cifs/connect.c                |   38 ++-------
>   fs/dlm/lowcomms.c                |   24 +-----
>   fs/nfs/client.c                  |   94 +--------------------
>   fs/nfs/nfs4filelayoutdev.c       |   37 +--------
>   fs/nfs/super.c                   |   31 +-------
>   include/linux/netpoll.h          |    9 +--
>   include/linux/sunrpc/addr.h      |  119 ++-------------------------
>   include/net/inet_addr.h          |  164 ++++++++++++++++++++++++++++++++++++++
>   include/net/inetpeer.h           |   29 ++-----
>   lib/vsprintf.c                   |   18 ++++-
>   net/core/netpoll.c               |   74 ++++++-----------
>   net/ipv4/inetpeer.c              |   35 +++++---
>   net/ipv4/tcp_metrics.c           |   92 +++++++++-------------
>   15 files changed, 327 insertions(+), 468 deletions(-)
>   create mode 100644 include/net/inet_addr.h
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ