| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This will fix build.
|
|
|
|
|
|
|
|
|
| |
PR: 196786
Differential Revision: https://reviews.freebsd.org/D2115
Submitted by: John A. Kunze (Author)
Approved by: wblock (mentor)
MFC after: 1 week
Sponsored by: ScaleEngine Inc.
|
|
|
|
| |
Submitted by: danfe
|
|
|
|
|
|
| |
the default shift should be 2 for the SoCs we support.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
| |
Start using 'alloc_size' attribute in the allocator functions.
This is useful as it helps the compiler generate warnings on suspicious
code and can also enable some small optimizations.
This is based on r281130, which brought similar enhnacements
to the standard libc headers.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
in, not value on the stack.
|
|
|
|
|
|
|
| |
Limits of 5 connections set long ago creates problems for SPEC benchmark.
Make the NFS follow system-wide maximum.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
Note that sockaddr_l2cap structure is changed , check socket address
to initialize new structure member and define L2CAP_SOCKET_CHECKED
before including ng_btsocket.h
Differential Revision: https://reviews.freebsd.org/D2021
Reviewed by:emax
|
|
|
|
|
|
|
|
| |
dependent functions have been implemented, but this is enough for world.
Differential Revision: https://reviews.freebsd.org/D2132
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: Netflix, Inc.
|
|
|
|
|
|
|
|
|
|
|
|
| |
ipfilter code as userland application. To reduce kernel structure knowledge
include if_var.h only if a file is compiled with _KERNEL defined.
In !_KERNEL case, provide our own definition of struct ifnet, that will
satisfy ipftest(1). This was already done earlier to struct ifaddr in
r279029. Protect the definition with _NET_IF_VAR_H_, since kernel part
of ipfilter may include if_var.h and ip_compat.h.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in 'netstat -r'.
The netstat/route.c was the last abuser of struct ifnet and struct
rtentry in the tree. With this change if_var.h can become kernel
only include, _WANT_RTENTRY can go away and projects/ifnet and
projects/routing can go forward.
Differential Revision: https://reviews.freebsd.org/D2242
Reviewed by: melifaro, gnn
Sponsored by: Nginx, Inc.
Sponsored by: Netflix
|
|
|
|
|
|
|
|
|
|
|
| |
function that does the locking and validation associated with cleaning
a page. This moves 150 lines of code into its own function.
- Rename vm_pageout_clean() to vm_pageout_cluster() to define what it
really does; clustering nearby pages for pageout optimization.
Reviewd by: alc, kib, kmacy
Tested by: pho (earlier version)
Sponsored by: EMC / Isilon
|
|
|
|
|
| |
PR: 199184
Submitted by: Robin Karlsson
|
|
|
|
|
|
|
| |
Originally from Andre Smagin.
Obtained from: OpenBSD
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove useless check for leading blanks in the month name. The
code didn't adjust len after stripping blanks so even if a month
*did* start with a blank we'd end up copying garbage at the end.
Also convert a malloc + memcpy to strdup and fix a memory leak in
the wide char version if mbstowcs() fails.
Originally from Andre Smagin.
Obtained from: OpenBSD (CVS rev. 1.2, 1.3)
MFC after: 1 week
|
|
|
|
|
|
|
| |
Suggested by: alfred
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r280976, r281179
|
|
|
|
|
|
|
| |
Reported by: lattera
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r280976
|
|
|
|
|
|
|
| |
Reported by: lattera
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r280975
|
|
|
|
|
|
|
| |
MFC after: 3 days
X-MFC-to: stable/10
X-MFC-with: r290974
Reported by: lattera
|
|
|
|
|
|
| |
MFC after: 3 days
X-MFC-with: r280925
Reported by: lattera
|
|
|
|
|
| |
Submitted by: Conrad Meyer
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
contain kernel pointers, and instead has interface index.
Bump __FreeBSD_version for that change.
o Now, netstat/mroute6.c no longer needs to kvm_read(3) struct ifnet, and
no longer needs to include if_var.h
Note that this change is far from being a complete move of IPv6 multicast
routing to a proper API. Other structures are still dumped into their
sysctls as is, requiring userland application to #define _KERNEL when
including ip6_mroute.h and then call kvm_read(3) to gather all bits and
pieces. But fixing this is out of scope of the opaque ifnet project.
Sponsored by: Nginx, Inc.
Sponsored by: Netflix
|
|
|
|
| |
PR: 193671
|
|
|
|
|
|
|
| |
copy of 3BSD on disc 1 of "The CSRG Archives".
PR: 198612
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
| |
Reported by: delphij
Submitted by: delphij
Pointy hat to: dteske (me)
MFC after: 3 days
X-MFC-to: stable/10 stable/9
X-MFC-with: r281160
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
We'll just fall into the same local delivery block under the
'if (m->m_flags & M_FASTFWD_OURS)'.
Suggested by: ae
Differential Revision: https://reviews.freebsd.org/D2225
Approved by: gnn (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In cases where we scrub (fragment reassemble) on both input and output
we risk ending up in infinite loops when forwarding packets.
Fragmented packets come in and get collected until we can defragment. At
that point the defragmented packet is handed back to the ip stack (at
the pfil point in ip6_input(). Normal processing continues.
Eventually we figure out that the packet has to be forwarded and we end
up at the pfil hook in ip6_forward(). After doing the inspection on the
defragmented packet we see that the packet has been defragmented and
because we're forwarding we have to refragment it.
In pf_refragment6() we split the packet up again and then ip6_forward()
the individual fragments. Those fragments hit the pfil hook on the way
out, so they're collected until we can reconstruct the full packet, at
which point we're right back where we left off and things continue until
we run out of stack.
Break that loop by marking the fragments generated by pf_refragment6()
as M_SKIP_FIREWALL. There's no point in processing those packets in the
firewall anyway. We've already filtered on the full packet.
Differential Revision: https://reviews.freebsd.org/D2197
Reviewed by: glebius, gnn
Approved by: gnn (mentor)
|
|
|
|
|
|
|
| |
That is not really an error for the main process.
MFC after: 1 week
Sponsored by: iXsystems, Inc.
|
|
|
|
|
|
|
|
| |
an extra struct uma_cache since the struct uma_zone already has one.
PR: 199169
Submitted by: luke.tw gmail com
MFC after: 1 week
|
|
|
|
|
|
|
| |
MFC after: 3 days
X-MFC-to: stable/10 stable/9
Security: CVE-2015-1415
Reported by: Pierre Kim
|
|
|
|
|
|
|
|
|
|
| |
under bootverbose. Every example I've seen to date has been due to
an ACPI system resource device reserving a range that overlaps with
system memory (which ram0 attempts to reserve) or a local or I/O APIC
(which apic0 attempts to reserve). These are always harmless but look
scary to users.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
no need for them to be this strong, we only need to provide one or the
other.
While here replace atomic_load_acq_* and atomic_store_rel_* with a single
instruction version, and fix the definition of atomic_clear_* to point to
the correct functions.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
by the future qemu virt support.
Differential Revision: https://reviews.freebsd.org/D2238
Reviewed by: emaste
|
|
|
|
| |
Sponsored by: Nginx, Inc.
|
|
|
|
| |
Missed in r280932
|
|
|
|
|
|
|
|
|
| |
ASIZE() was never used, and min() stopped being used in r207812.
Differential Revision: https://reviews.freebsd.org/D2230
Reviewed by: emax
Approved by: emax
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
* Implemement the 0x81 and 0x83 CMP instructions.
* Implemement the 0x83 AND instruction.
* Implemement the 0x81 OR instruction.
Reviewed by: neel
|
|
|
|
| |
Sponsored by: Nginx, Inc.
|
|
|
|
|
| |
Discussed with: rwatson
Sponsored by: Nginx, Inc.
|
|
|
|
|
| |
Reviewed by: bapt
MFC after: 1 Week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
Bring small upstream updates.
Obtained from: OpenBSD
|
|
|
|
|
|
| |
Minor cleanups that got accidentally reverted.
Obtained from: OpenBSD
|