git: 06d2e390d818 - stable/12 - if_hn: Fix a few typos in comments and a sysctl description
Date: Fri, 03 Dec 2021 15:58:01 UTC
The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=06d2e390d8189b3ccf321207d4058ec3b94e1368 commit 06d2e390d8189b3ccf321207d4058ec3b94e1368 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2021-11-30 09:35:14 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2021-12-03 15:54:47 +0000 if_hn: Fix a few typos in comments and a sysctl description - s/segement/segment/ (cherry picked from commit b15a632c418f6532fe7c3002b4085c61b1e278b0) --- sys/dev/hyperv/netvsc/if_hn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c index 54d2e41c36c8..97346272b993 100644 --- a/sys/dev/hyperv/netvsc/if_hn.c +++ b/sys/dev/hyperv/netvsc/if_hn.c @@ -456,11 +456,11 @@ static void hn_start_txeof_taskfunc(void *, int); SYSCTL_NODE(_hw, OID_AUTO, hn, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL, "Hyper-V network interface"); -/* Trust tcp segements verification on host side. */ +/* Trust tcp segment verification on host side. */ static int hn_trust_hosttcp = 1; SYSCTL_INT(_hw_hn, OID_AUTO, trust_hosttcp, CTLFLAG_RDTUN, &hn_trust_hosttcp, 0, - "Trust tcp segement verification on host side, " + "Trust tcp segment verification on host side, " "when csum info is missing (global setting)"); /* Trust udp datagrams verification on host side. */ @@ -5107,7 +5107,7 @@ hn_create_rx_data(struct hn_softc *sc, int ring_cnt) SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "trust_hosttcp", CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, sc, HN_TRUST_HCSUM_TCP, hn_trust_hcsum_sysctl, "I", - "Trust tcp segement verification on host side, " + "Trust tcp segment verification on host side, " "when csum info is missing"); SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "trust_hostudp", CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_MPSAFE, sc, HN_TRUST_HCSUM_UDP,