generic: revert workarounds for AR8337 switch
[oweals/openwrt.git] / target / linux / generic / backport-4.14 / 330-v4.16-netfilter-nf_tables-remove-flag-field-from-struct-nf.patch
index 42aa7b1b0df71d74a57bac4f840d2ef414a84bfe..c599ad79c2dba51d153e88c87130c7a71aca176e 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
 
 --- a/include/net/netfilter/nf_tables.h
 +++ b/include/net/netfilter/nf_tables.h
-@@ -954,10 +954,6 @@ struct nft_table {
+@@ -959,10 +959,6 @@ struct nft_table {
        char                            *name;
  };
  
@@ -21,7 +21,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  /**
   *    struct nft_af_info - nf_tables address family info
   *
-@@ -965,14 +961,12 @@ enum nft_af_flags {
+@@ -970,14 +966,12 @@ enum nft_af_flags {
   *    @family: address family
   *    @owner: module owner
   *    @tables: used internally
@@ -38,7 +38,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
  int nft_register_afinfo(struct net *, struct nft_af_info *);
 --- a/net/netfilter/nf_tables_api.c
 +++ b/net/netfilter/nf_tables_api.c
-@@ -1345,7 +1345,7 @@ static int nft_chain_parse_hook(struct n
+@@ -1376,7 +1376,7 @@ static int nft_chain_parse_hook(struct n
        hook->type = type;
  
        hook->dev = NULL;