| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Submitted by: Lutz Donnerhacke via Dmitry Luhtionov
German lesson at: http://lutz.donnerhacke.de/Blog/Der-Fluch-der-Stabilitaet
PR: 146082
|
|
|
|
|
|
|
|
|
| |
malloc(9) flags within sys.
Exceptions:
- sys/contrib not touched
- sys/mbuf.h edited manually
|
|
|
|
| |
This means that their use is restricted to a single C file.
|
|
|
|
|
|
|
| |
context always. Convert nodes to consistently use M_WAITOK flag
for memory allocation.
Reviewed by: julian
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When copying big structures, LLVM generates calls to memmove(), because
it may not be able to figure out whether structures overlap. This caused
linker errors to occur. memmove() is now implemented using bcopy().
Ideally it would be the other way around, but that can be solved in the
future. On ARM we don't do add anything, because it already has
memmove().
Discussed on: arch@
Reviewed by: rdivacky
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 2472
|
|
|
|
|
| |
be careful not to fix anything that was already broken; the NFSv4 code is
particularly bad in this respect.
|
|
|
|
| |
MFC after: 3 months
|
|
|
|
|
| |
Store IDs is host order. It is not so important to bloat code for it.
Combine m_adj() and M_PREPEND() into single M_PREPEND().
|
|
|
|
|
| |
of many connections working via the same tunnel. For example, in case
of full "client <-> LAC <-> LNS" setup.
|
| |
|
|
|
|
|
|
| |
if netgraph reported error while delivering to destination.
Reset 'next send' counter to the last requested by peer on ack timeout
to resend all subsequest packets after lost one again without additional hints.
|
|
|
|
|
|
| |
Previous value 16 was too small for real LAC as temporal activity
spike cound easily overflow queue demanding tunnel disconnection due
to possible state inconsistency.
|
|
|
|
| |
Approved by: glebius (mentor)
|
|
|
|
|
|
| |
ng_l2tp_seq_check().
Approved by: glebius (mentor)
|
|
|
|
|
|
| |
reduce stack usage.
Approved by: mentor (glebius)
|
| |
|
|
|
|
|
|
|
|
|
| |
invariants.
Replace callout_pending() by callout_active() to remove race window.
Reviewed by: archie
Approved by: glebius (mentor)
|
|
|
|
| |
Approved by: glebius (mentor)
|
| |
|
|
|
|
|
|
|
|
|
| |
- Use callout_pending() instead of our own flags.
- Remove home-grown protection of node, which has a scheduled
callout().
- Remove spl(9) calls.
Tested by: bz
|
| |
|
|
|
|
|
|
|
| |
for L2TP tunnel statistics (which do not take an argument sessionID).
Reviewed by: archie
Approved by: pjd (mentor)
|
|
|
|
|
| |
Reviewed by: archie
Approved by: pjd (mentor)
|
|
|
|
|
|
|
|
|
| |
- according to RFC2661 an offset size of 0 is allowed.
- when skipping offset padding do not forget to also skip
the 2 octets of the offset size field.
Reviewed by: archie
Approved by: pjd (mentor)
|
|
|
|
|
|
| |
the old way of doing it.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
|
|
|
|
|
|
|
|
| |
Should make no binary difference.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Reviewed by: Harti Brandt <harti@freebsd.org>
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Bjoern A. Zeeb <bzeeb+freebsd@zabbadoz.net>
MFC After: 3 days
|
| |
|
|
|
|
| |
Approved by: trb
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
|
|
|
|
|
|
|
|
|
| |
the mbuf allocator flags {M_TRYWAIT, M_DONTWAIT}.
o Fix a bpf_compat issue where malloc() was defined to just call
bpf_alloc() and pass the 'canwait' flag(s) along. It's been changed
to call bpf_alloc() but pass the corresponding M_TRYWAIT or M_DONTWAIT
flag (and only one of those two).
Submitted by: Hiten Pandya <hiten@unixdaemons.com> (hiten->commit_count++)
|
| |
|
|
Obtained from: Packet Design
|