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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 3 Mar 2020 11:26:14 +1100
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Pablo Neira Ayuso <pablo@...filter.org>,
        NetFilter <netfilter-devel@...r.kernel.org>
Cc:     Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Jozsef Kadlecsik <kadlec@...filter.org>,
        "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: linux-next: manual merge of the netfilter-next tree with Linus'
 tree

Hi all,

Today's linux-next merge of the netfilter-next tree got a conflict in:

  net/netfilter/ipset/ip_set_hash_gen.h

between commit:

  f66ee0410b1c ("netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports")

from Linus' tree and commit:

  9fabbf56abfe ("netfilter: Replace zero-length array with flexible-array member")

from the netfilter-next tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc net/netfilter/ipset/ip_set_hash_gen.h
index e52d7b7597a0,f1edc5b9b4ce..1ee43752d6d3
--- a/net/netfilter/ipset/ip_set_hash_gen.h
+++ b/net/netfilter/ipset/ip_set_hash_gen.h
@@@ -105,11 -75,9 +105,11 @@@ struct htable_gc 
  /* The hash table: the table size stored here in order to make resizing easy */
  struct htable {
  	atomic_t ref;		/* References for resizing */
 -	atomic_t uref;		/* References for dumping */
 +	atomic_t uref;		/* References for dumping and gc */
  	u8 htable_bits;		/* size of hash table == 2^htable_bits */
 +	u32 maxelem;		/* Maxelem per region */
 +	struct ip_set_region *hregion;	/* Region locks and ext sizes */
- 	struct hbucket __rcu *bucket[0]; /* hashtable buckets */
+ 	struct hbucket __rcu *bucket[]; /* hashtable buckets */
  };
  
  #define hbucket(h, i)		((h)->bucket[i])

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ