Justin Hibbits
bc14c73b7b
Mechanically convert al_eth(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37834
2023-02-06 12:32:13 -05:00
Justin Hibbits
91f3f3fc71
Mechanically convert dc(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37852
2023-02-06 12:32:13 -05:00
Justin Hibbits
76cb2c1ce0
Mechanically convert nge(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37811
2023-02-06 12:32:13 -05:00
Justin Hibbits
12d29e1568
Mechanically convert if_my(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37847
2023-02-06 12:32:12 -05:00
Justin Hibbits
5ab8c4b836
Mechanically convert msk(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37830
2023-02-06 12:32:12 -05:00
Justin Hibbits
da247e0dac
Mechanically convert ic(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37851
2023-02-06 12:32:12 -05:00
Justin Hibbits
0292389aca
Mechanically convert bce(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37841
2023-02-06 12:32:11 -05:00
Justin Hibbits
df40efe17a
Mechanically convert le(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37831
2023-02-06 12:32:11 -05:00
Justin Hibbits
ccfbf57f83
Mechanically convert sk(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37818
2023-02-06 12:32:11 -05:00
Justin Hibbits
8c259c5048
Mechanically convert smc(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37824
2023-02-06 12:32:10 -05:00
Justin Hibbits
1125d09363
Mechanically convert sis(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37826
2023-02-06 12:32:10 -05:00
Justin Hibbits
08e67568b0
Mechanically convert lge(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37838
2023-02-06 12:32:10 -05:00
Justin Hibbits
59dc03deec
Mechanically convert jme(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37839
2023-02-06 12:32:09 -05:00
Justin Hibbits
61c05f13d2
Mechanically convert fwe(4) and fwip(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37850
2023-02-06 12:32:09 -05:00
Justin Hibbits
3fba06ad13
Mechanically convert sbni(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37822
2023-02-06 12:32:09 -05:00
Justin Hibbits
7c509be1c6
Mechanically convert if_et(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37810
2023-02-06 12:32:08 -05:00
Justin Hibbits
3ac0cb328a
Mechanically convert if_vge(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37801
2023-02-06 12:32:08 -05:00
Justin Hibbits
ac8e2243b8
Mechanically convert if_rl(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37803
2023-02-06 12:32:08 -05:00
Justin Hibbits
0d1025348b
Mechanically convert if_vr(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37798
2023-02-06 12:32:07 -05:00
Justin Hibbits
3486b83504
Mechanically convert if_vte(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37796
2023-02-06 12:32:07 -05:00
Justin Hibbits
6712df3ab0
Mechanically convert if_ste(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37794
2023-02-06 12:32:07 -05:00
Justin Hibbits
c0e5e270a5
Mechanically convert if_bfe(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37791
2023-02-06 12:32:06 -05:00
Justin Hibbits
de17d6f9a6
Mechanically convert if_ti(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37806
2023-02-06 12:32:06 -05:00
Justin Hibbits
2568cd2ae9
Mechanically convert if_plip(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37854
2023-02-06 12:32:06 -05:00
Justin Hibbits
76614fdc8c
Mechanically convert iwi(4) and iwn(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37849
2023-02-06 12:32:05 -05:00
Justin Hibbits
3f14814f05
Mechanically convert ae(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37786
2023-02-06 12:32:05 -05:00
Justin Hibbits
47842ecfe0
Mechanically convert if_tsec(4) to IfAPI
...
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37805
2023-02-06 12:32:05 -05:00
Justin Hibbits
a6c0f09aa3
ath(4) IfAPI fixups
...
Use the if_getcounter() IfAPI instead of accessing the ifnet directly.
Sponsored by: Juniper Networks, Inc.
2023-02-06 12:32:05 -05:00
Justin Hibbits
6472761966
IfAPI: use IfAPI in mbuf
...
Sponsored by: Juniper Networks, Inc.
2023-02-06 12:32:04 -05:00
Justin Hibbits
1e6131bad6
IfAPI: Add needed APIs for mbuf support
...
Summary:
Add 2 new APIs for supporting recent mbuf changes:
* 36e0a362ac added the m_snd_tag_alloc() wrapper around
if_snd_tag_alloc(). Push this down to the ifnet level.
* 4d7a1361ef adds the m_rcvif_serialize()/m_rcvif_restore() KPIs to
serialize and restore an ifnet pointer. Add the necessary wrapper to
get the index generation for this.
Reviewed By: jhb
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D38340
2023-02-06 12:32:04 -05:00
Doug Ambrisko
c079c82646
enic: Cleanup module Makefile
...
Remove debug flags, old FreeBSD tag info and old include info.
2023-02-06 09:26:53 -08:00
Ed Maste
2e82822057
ssh: Be more paranoid with host/domain names coming from the
...
never write a name with bad characters to a known_hosts file.
replace recently-added valid_domain() check for hostnames going to
known_hosts with a more relaxed check for bad characters.
Obtained from: OpenSSH-portable commit 445363433ba2
Obtained from: OpenSSH-portable commit 3cae9f92a318
Sponsored by: The FreeBSD Foundation
2023-02-06 12:06:26 -05:00
Dag-Erling Smørgrav
2768d70567
libmd / md5: Add SHA-512/224.
...
While there, remove .Tn from man pages.
Also remove an obsolete comment about the 80386.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans, allanjude
Differential Revision: https://reviews.freebsd.org/D38373
2023-02-06 18:03:04 +01:00
Sebastian Huber
6680cfe8e0
sha512_224: Fix SHA512_224_Final() on little-endian machines.
...
PR: 266863
MFC after: 1 week
Reviewed by: allanjude, cperciva, des
Differential Revision: https://reviews.freebsd.org/D38372
2023-02-06 18:02:49 +01:00
Doug Ambrisko
9c067b844f
enic: Cisco VIC driver
...
This driver is based of the enic (Cisco VIC) DPDK driver. It provides
basic ethernet functionality. Has been run with various VIC cards to
do UEFI PXE boot with NFS root.
2023-02-06 08:46:02 -08:00
Ed Maste
94e21add45
ssh: fix bug in PermitRemoteOpen which caused it to ignore...
...
its first argument unless it was one of the special keywords "any" or
"none".
Obtained from: OpenSSH-portable commit b3daa8dc5823
Sponsored by: The FreeBSD Foundation
2023-02-06 11:33:38 -05:00
Ed Maste
fe1371e8f3
ssh: fix double-free caused by compat_kex_proposal()
...
Security: CVE-2023-25136
Obtained from: OpenSSH-portable commit 12da78233364
Sponsored by: The FreeBSD Foundation
2023-02-06 11:31:18 -05:00
Dag-Erling Smørgrav
a8fc2fe3af
tarfs: Remove unnecessary code.
...
Reported by: kib
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D38401
2023-02-06 17:24:32 +01:00
Dag-Erling Smørgrav
c9ff56ce2d
tarfs: Terminate dirents before copying them out.
...
Reported by: markj
Sponsored by: Juniper Networks, Inc.
Sponsored bu: Klara, Inc.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D38400
2023-02-06 17:24:27 +01:00
Dag-Erling Smørgrav
cc6e8949da
tarfs: Fix typo in man page.
...
Reported by: ceri
Sponsored by: Junpier Networks, Inc.
Sponsored by: Klara, Inc.
Reviewed by: pstef
Differential Revision: https://reviews.freebsd.org/D38399
2023-02-06 17:24:17 +01:00
Dmitry Chagin
07db1f3684
linux(4): Attach netlink on i386.
...
Discussed with: melifaro
MFC after: 3 days
2023-02-06 17:00:44 +03:00
Baptiste Daroussin
baff81958c
libedit: update to snapshot 2023-01-06
...
MFC atfer: 1 week
2023-02-06 14:25:06 +01:00
Baptiste Daroussin
5a36c82614
libedit: import version 2023-02-06
2023-02-06 12:46:20 +01:00
Peter Holm
0126bd3e6c
stress2: Return error on exit. Run test for longer
2023-02-06 11:09:52 +01:00
Simon J. Gerraty
3cc3c1eb79
Skip EFI framebuffer information if there is none
...
Avoid several lines of useless info if there is no EFI framebuffer
Reviewed by: stevek, imp
Differential Revision: https://reviews.freebsd.org/D38393
2023-02-05 17:23:09 -08:00
Simon J. Gerraty
e9d6b699d8
kern.post.mk we need .MAKE.DEPENDFILE for DIRDEPS_BUILD
...
When MK_DIRDEPS_BUILD is yes, we need .MAKE.DEPENDFILE left
alone
Reviewed by: stevek
2023-02-05 14:50:31 -08:00
Bjoern A. Zeeb
b15491b477
LinuxKPI: PCI: implement support for more than 1 MSI vector
...
Following e9715b1c44 and
4b56afaf7b , implement support
for up-to 32 MSI vectors. This is used by wireless drivers.
This also switches msi_desc to an array in order to store
per-vector information.
Sponsored by: The FreeBSD Foundation
Discussed with: grehan (in Dec)
MFC after: 3 days
Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D38222
2023-02-05 20:49:06 +00:00
Bjoern A. Zeeb
4c72d075a5
LinuxKPI: const argument to irq_set_affinity_hint()
...
irq_set_affinity_hint() takes a const mask argument and some drivers
pass it in as such where earlier implementations were more lenient.
Deal with it and __DECONST() the argument when passed to intr_setaffinity().
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38242
2023-02-05 20:46:59 +00:00
Bjoern A. Zeeb
bc81a2b788
LinuxKPI: interrupt.h: add disable_irq_nosync(), irq_set_status_flags()
...
Add a dummy irq_set_status_flags() along with #defines passed by the driver.
Add disable_irq_nosync() as another wrapper to lkpi_disable_irq().
Those are used by wireless drivers.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38241
2023-02-05 20:45:28 +00:00
Bjoern A. Zeeb
934cb7a331
LinuxKPI: pm.h: add dummy pm_wakeup_event()
...
Add a dummy implementation of pm_wakeup_event() which is used to notify
the power management system about a wakeup (which we currently do not
implement yet).
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D38239
2023-02-05 20:43:46 +00:00