Find a file
Kristof Provost b57df6fbcc ndp: cope with unresolved neighbours
If we've not (yet) resolved a neighbour nda_lladdr will be NULL, and
NLA_DATA_LEN(neigh->nda_lladdr) will dereference a NULL pointer.

Avoid that by checking nda_lladdr first, and only dereferencing if it's
not NULL.

Test case:
	ping6 -c 1 <non-existant neighbour>
	ndp -a

Reviewed by:	melifaro
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D41903
2023-09-18 20:12:45 +02:00
.cirrus-ci
.github
bin sh: also auto-complete functions 2023-09-12 18:40:05 +02:00
cddl Fix zfsd with the device_removal pool feature. 2023-09-12 08:46:12 -06:00
contrib Merge bmake-20230909 2023-09-17 18:09:37 -07:00
crypto ssh-keygen: Generate Ed25519 keys when invoked without arguments 2023-09-07 13:34:21 -04:00
etc include: Add tests for N2867. 2023-09-07 06:40:14 +00:00
gnu
include Restrict the glibc compat cookie open functions to __BSD_VISIBLE 2023-09-17 09:11:57 -06:00
kerberos5
lib swapon.2: correct FreeBSD release that introduced swapoff 2023-09-18 10:01:38 +01:00
libexec save-entropy: Add manual page 2023-09-18 13:33:59 +02:00
release pkgbase: Move headers and libs out of runtime and utilities 2023-09-12 13:22:21 +01:00
rescue zfs: merge openzfs/zfs@804414aad 2023-08-26 23:51:42 +02:00
sbin libipf: fix parser error message. 2023-08-31 22:15:54 +02:00
secure libcrypto: link engines and the legacy provider to libcrypto 2023-09-16 16:55:12 +01:00
share powerpc: Implement fpu_kern_enter/fpu_kern_leave 2023-09-17 13:21:04 -04:00
stand stand/loader.efi: fix regression with ignoring nvstore 2023-09-11 11:04:48 -07:00
sys linux(4): On Linux SIGKILL can not be reset to default 2023-09-18 17:53:01 +03:00
targets
tests mlock tests: Add a regression test 2023-09-17 06:27:31 -04:00
tools Add WITHOUT_MANSPLITPKG description 2023-09-16 16:40:41 +01:00
usr.bin Merge bmake-20230909 2023-09-17 18:09:37 -07:00
usr.sbin ndp: cope with unresolved neighbours 2023-09-18 20:12:45 +02:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: restore amd64-gcc12 build/test on main 2023-08-18 22:35:39 -04:00
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore
CONTRIBUTING.md
COPYRIGHT
LOCKS Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
MAINTAINERS Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
Makefile Makefile: Support universe-toolchain on non-FreeBSD 2023-08-23 18:00:16 +01:00
Makefile.inc1 libcrypto: link engines and the legacy provider to libcrypto 2023-09-16 16:55:12 +01:00
Makefile.libcompat build{libcompat}: Pass UNIVERSE_TOOLCHAIN_PATH to the _lc_build-tools submake 2023-08-21 21:00:45 -07:00
Makefile.sys.inc
ObsoleteFiles.inc ObsoleteFiles: cleanup old libclang_rt files for powerpc64le 2023-09-16 09:47:19 +02:00
README.md
RELNOTES Fix typo in RELNOTES (objump -> objdump) 2023-09-18 11:04:21 +01:00
UPDATING pkgbase: Add instructions for upgrading past 78847e1 2023-09-17 13:21:06 +01:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.