]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nf_tables_offload: skip EBUSY on chain update
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Nov 2019 13:52:42 +0000 (14:52 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 Nov 2019 19:58:36 +0000 (20:58 +0100)
commit88c749840dff58e7a40e18bf9bdace15f27ef259
tree9082fe9bb89199d7911246adfdc570cdd64a35b1
parent1ed012f6fd83e7ee7efd22e2c32f23efff015b30
netfilter: nf_tables_offload: skip EBUSY on chain update

Do not try to bind a chain again if it exists, otherwise the driver
returns EBUSY.

Fixes: c9626a2cbdb2 ("netfilter: nf_tables: add hardware offload support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_offload.c