| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Submitted by: vsevolod (initial version)
MFC after: 2 weeks
Sponsored by: Yandex LLC
|
|
|
|
|
|
| |
Reviewed by: rmacklem@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- convert boot1.efi to corrrectly calculate the lba for what the
media reports and convert the size based on what FreeBSD uses.
The existing code would use the 512 byte lba and convert the
size using 4K byte size.
- make fsck_msdosfs read the boot block as 4K so the read doesn't
fail on a 4Kn drive since FreeBSD will error out parition reads
of a block. Make the bpbBytesPerSec check a multiple of 512 since
it can be 512 or 4K depending on the disk. This allows fsck to
pass checking the EFI partition on a 4Kn disk.
To create the EFI file system I used:
newfs_msdos -F 32 -S 4096 -c 1 -m 0xf8 <partition>
This works for booting 512 and 4Kn disks.
Caveat is that loader.efi cannot read the 4Kn EFI partition. This isn't
critical right now since boot1.efi will read loader.efi from the ufs
partition. It looks like loader.efi can be fixed via making some of the
512 bytes reads more flexible. loader.efi doesn't have trouble reading
the ufs partition. This is probably a simple fix.
I now have FreeBSD installed on a system with 4Kn drives and tested the
same code works on 512.
MFC after: 1 week
|
|
|
|
|
|
|
| |
or at least scan-build yelled about it.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
| |
to mount_nfs(8). They are implemented on Linux, OS X, and Solaris,
and thus can be expected to appear in automounter maps.
Reviewed by: rmacklem@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
Reviewed by: rmacklem@
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
PR: 194581
Submitted by: madpilot
|
|
|
|
|
| |
Found by: ae
Sponsored by: Yandex LLC
|
|
|
|
|
| |
Sponsored by: Yandex LLC
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vxlan creates a virtual LAN by encapsulating the inner Ethernet frame in
a UDP packet. This implementation is based on RFC7348.
Currently, the IPv6 support is not fully compliant with the specification:
we should be able to receive UPDv6 packets with a zero checksum, but we
need to support RFC6935 first. Patches for this should come soon.
Encapsulation protocols such as vxlan emphasize the need for the FreeBSD
network stack to support batching, GRO, and GSO. Each frame has to make
two trips through the network stack, and each frame will be at most MTU
sized. Performance suffers accordingly.
Some latest generation NICs have begun to support vxlan HW offloads that
we should also take advantage of. VIMAGE support should also be added soon.
Differential Revision: https://reviews.freebsd.org/D384
Reviewed by: gnn
Relnotes: yes
|
| |
|
|
|
|
|
|
| |
* Rename 'read' variable.
Pointed by: luigi
|
|
|
|
|
|
| |
* Simplify formatting.
Suggested by: luigi
|
|
|
|
|
| |
equivalent to -W and -t options of ping(8). Different letters are used
because both have already been used for another purposes in ping6(8).
|
|
|
|
| |
Found by: Oleg Ginzburg
|
|
|
|
|
|
| |
* Report error and return non-zero exit code if zeroing non-matched entries
Found by: Oleg Ginzburg
|
|
|
|
|
|
|
| |
Differential Revision: https://reviews.freebsd.org/D931
Reviewed by: wblock@
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Pointed by: bz
|
|
|
|
|
|
|
| |
side-effect. The specified file should exist before the fstab line.
Reported by: wblock (long time ago)
MFC after: 1 day
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Also change default disk name to ada.
MFC after: 3 weeks
|
| |
| |
| |
| | |
* Fix showing human-readable error in table cmds code.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
we can't easily predict (in current parsing model)
if the keyword is ipfw(8) reserved keyword or port name.
Checking proto database via getprotobyname() consumes a lot of
CPU and leads to tens of seconds for parsing large ruleset.
Use list of reserved keywords and check them as pre-requisite
before doing getprotobyname().
Obtained from: Yandex LLC
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Pointed out by: glebius
|
| |
| |
| |
| | |
backward compatibility with old ifconfig(8).
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
if_lagg(4) interfaces which were cloned in a vnet jail.
Sysctl nodes which are dynamically generated for each cloned interface
(net.link.lagg.N.*) have been removed, and use_flowid and flowid_shift
ifconfig(8) parameters have been added instead. Flags and per-interface
statistics counters are displayed in "ifconfig -v".
CR: D842
|
| |
| |
| |
| | |
Add missing library dependencies.
|
| |
| |
| |
| |
| | |
Reviewed by: mjg
MFC after: 2 weeks
|
| |
| |
| |
| |
| | |
Suggested by: mjg
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| |
| | |
Check errno and handle it as invalid input.
Obtained from: HardenedBSD
Submitted by: David CARLIER <devnexen@gmail.com>
MFC after: 2 weeks
|
| |
| |
| |
| | |
MFC after: 2 months
|
| | |
|
| |
| |
| |
| |
| |
| | |
query from a remote machine, and disable accepting it by default. This
requests a routed(8) daemon to dump routing information base for debugging
purpose. An -i flag to enable it has been added.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
and (T < RTT).
- Use select(2) for timeout instead of interval timer. Remove poll(2) support.
- Use sigaction(2) instead of signal(3).
- Exit in SIGINT handler when two signals are received and doing reverse DNS
lookup as ping(8) does.
- Remove redundant variables used for getaddrinfo(3).
PR: 151023
|
| |
| |
| |
| |
| |
| | |
infinite loop if no reply packet is received.
PR: 151023
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The FreeBSD is the only system that has the FEC protocol, that is a simple alias
to loadbalance protocol and does not implement the ancient Cisco FEC standard.
From now on, we remove the fec protocol from the documentation and keep the FEC
code only for compatibility.
Phabric: D539
Reviewed by: glebius, thompsa
Approved by: glebius
Sponsored by: QNAP Systems Inc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
group
and receives frames on any port of the lagg(4).
Phabric: D549
Reviewed by: glebius, thompsa
Approved by: glebius
Obtained from: OpenBSD
Sponsored by: QNAP Systems Inc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a FILE* leak in getbounds().
Submitted by: Conrad Meyer <conrad.meyer@isilon.com>
PR: 192032
Sponsored by: EMC / Isilon Storage Division
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
This will be used in the forthcoming vxlan import.
Reviewed by: gnn
Phabric: https://reviews.freebsd.org/D382
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
devq_openings counter lost its meaning after allocation queues has gone.
held counter is still meaningful, but problematic to update due to separate
locking of CCB allocation and queuing.
To fix that replace devq_openings counter with allocated counter. held is
now calculated on request as difference between number of allocated, queued
and active CCBs.
MFC after: 1 month
|
| |
| |
| |
| |
| | |
MFC with: r270064
Sponsored by: Yandex LLC
|
| |
| |
| |
| |
| |
| |
| |
| | |
sysctl(8) binary to format it.
Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D771
|
| |
| |
| |
| | |
size_t instead of an int.
|