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  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]
Date:   Thu, 20 Oct 2016 11:24:59 -0400 (EDT)
From:   David Miller <>
Subject: Re: [PATCH net-next] tcp: relax listening_hash operations

From: Eric Dumazet <>
Date: Wed, 19 Oct 2016 21:24:58 -0700

> From: Eric Dumazet <>
> softirq handlers use RCU protection to lookup listeners,
> and write operations all happen from process context.
> We do not need to block BH for dump operations.
> Also SYN_RECV since request sockets are stored in the ehash table :
>  1) inet_diag_dump_icsk() no longer need to clear
>     cb->args[3] and cb->args[4] that were used as cursors while
>     iterating the old per listener hash table.
>  2) Also factorize a test : No need to scan listening_hash[]
>     if r->id.idiag_dport is not zero.
> Signed-off-by: Eric Dumazet <>

Applied, thanks Eric.

Powered by blists - more mailing lists