summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2021-12-15 13:21:52 +0300
committerWilliam A. Kennington III <wak@google.com>2021-12-16 02:56:47 +0300
commit7356f8ebcb6b0e4c06018c748b7c5771b41e007e (patch)
treeb25eb5ca71f9040d838b5276144e32d616315d91 /meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in
parentbdccd86cc18f9dba43fb488797f91d941035254f (diff)
downloadopenbmc-7356f8ebcb6b0e4c06018c748b7c5771b41e007e.tar.xz
meta-google: nftables: Make rule loading atomic
This ensures that all of the rules are processed and unexpected packets are not allowed or blocked by the kernel at any time. Change-Id: Ia7bb1d7f604f8ed1bd9759a23e370d20cb0c690d Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in')
-rw-r--r--meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in
index 677ef28c3..9d9f7899e 100644
--- a/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in
+++ b/meta-google/recipes-google/ncsi/files/gbmc-ncsi-br-deprecated-ips.sh.in
@@ -88,7 +88,7 @@ EOF
else
printf '%s' "$nfcontents" >"$rfile"
fi
- systemctl reset-failed nftables && systemctl --no-block restart nftables || true
+ systemctl reset-failed nftables && systemctl --no-block reload-or-restart nftables || true
}
gbmc_ncsi_br_deprecated_ips_hook() {