freebsd-nq/stand/libsa
Toomas Soome 98e805b4a1 loader: net_open() should not replace f->f_devdata
net_open() does replace f_devdata with pointer to netdev_sock,
this will cause memory leak when device is closed, but also does
alter the devopen() logic.

We should store &netdev_sock to dev->d_opendata instead, this
would preserve and follow the devopen() logic.

Fixes network boot on aarch64 (tested by bz).

Reviewed-by:	imp
MFC After:	2 weeks
Differential Revision: https://reviews.freebsd.org/D32227
2021-10-19 19:43:56 +03:00
..
amd64 libsa: Remove conflicting .global/.weak directive 2021-03-30 14:59:41 +01:00
geli stand: fix build after recent opencrypto changes 2021-10-06 20:23:44 -05:00
i386
mips
powerpc
x86
zfs loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
__main.c
abort.c
arp.c
assert.c
bcd.c
bootp.c
bootp.h
bootparam.c
bootparam.h
bzipfs.c libsa: Fix infinite loop in bzipfs & gzipfs 2021-06-01 11:08:20 -05:00
cd9660.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
cd9660read.c
close.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
closeall.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
crc32_libkern.c
dev.c
dosfs.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
dosfs.h
environment.c
ether.c
ext2fs.c libsa: Fix a typo in source code comments 2021-08-29 10:09:58 +02:00
fstat.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
getopt.c
gets.c
globals.c
gpt.c
gpt.h
gzipfs.c libsa: Fix infinite loop in bzipfs & gzipfs 2021-06-01 11:08:20 -05:00
hexdump.c
in_cksum.c
inet_ntoa.c
ioctl.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
iodesc.h loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
ip.c
libsa.3
lseek.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
Makefile loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
Makefile.depend
mount.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
net.c
net.h loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
netif.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
netif.h
nfs.c loader: net_open() should not replace f->f_devdata 2021-10-19 19:43:56 +03:00
nfsv2.h
nullfs.c
open.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
pager.c
panic.c
pkgfs.c
printf.c loader printf: Profile with TSLOG 2021-09-24 20:23:49 -07:00
random.c
rarp.c
read.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
readdir.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c
smbios.c
smbios.h
splitfs.c
stand.h loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
stat.c
strcasecmp.c
strdup.c
strerror.c
tftp.c loader: net_open() should not replace f->f_devdata 2021-10-19 19:43:56 +03:00
tftp.h
time.c
tslog.c loader tslog: Don't use sprintf 2021-09-24 20:23:37 -07:00
twiddle.c loader: Set twiddle globaldiv to 16 by default 2021-09-28 15:24:02 -07:00
udp.c
ufs.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
ufsread.c
uuid_from_string.c
uuid_to_string.c
write.c loader: open file list should be dynamic 2021-08-10 21:54:32 +03:00
xlocale_private.h
zalloc_defs.h
zalloc_malloc.c
zalloc_mem.h
zalloc_protos.h
zalloc.c