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] [day] [month] [year] [list]
Message-Id: <20131003.153403.1713167561230772868.davem@davemloft.net>
Date:	Thu, 03 Oct 2013 15:34:03 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next] inet: consolidate INET_TW_MATCH

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 02 Oct 2013 04:29:50 -0700

> From: Eric Dumazet <edumazet@...gle.com>
> 
> TCP listener refactoring, part 2 :
> 
> We can use a generic lookup, sockets being in whatever state, if
> we are sure all relevant fields are at the same place in all socket
> types (ESTABLISH, TIME_WAIT, SYN_RECV)
> 
> This patch removes these macros :
> 
>  inet_addrpair, inet_addrpair, tw_addrpair, tw_portpair
> 
> And adds :
> 
>  sk_portpair, sk_addrpair, sk_daddr, sk_rcv_saddr
> 
> Then, INET_TW_MATCH() is really the same than INET_MATCH()
> 
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>

Nice simplification, applied, thanks Eric.
--
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