| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A received control packet may cause the transmit queue to be flushed, in
which case ng_l2tp_seq_recv_nr() cancels the transmit timeout handler.
The handler checks to see if it was cancelled before doing anything, but
did so before acquiring the node lock, so a small race window could
cause ng_l2tp_seq_rack_timeout() to attempt to flush an empty queue,
ultimately causing a null pointer dereference.
PR: 241133
Reviewed by: bz, glebius, Lutz Donnerhacke
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D26548
Notes:
svn path=/head/; revision=366167
|
| |
|
|
| |
Notes:
svn path=/head/; revision=365071
|
| |
|
|
|
|
|
| |
MFC after: 5 weeks
Notes:
svn path=/head/; revision=353027
|
| |
|
|
|
|
|
|
|
|
|
|
| |
contiguous memory but in one path we did not always guarantee this,
thus do a m_pullup() there.
PR: 214385
Submitted by: Joe Jones (joeknockando googlemail.com)
MFC after: 3 days
Notes:
svn path=/head/; revision=308748
|
| |
|
|
|
|
|
|
|
| |
Submitted by: Lutz Donnerhacke via Dmitry Luhtionov
German lesson at: http://lutz.donnerhacke.de/Blog/Der-Fluch-der-Stabilitaet
PR: 146082
Notes:
svn path=/head/; revision=260225
|
| |
|
|
|
|
|
|
|
|
|
|
| |
malloc(9) flags within sys.
Exceptions:
- sys/contrib not touched
- sys/mbuf.h edited manually
Notes:
svn path=/head/; revision=243882
|
| |
|
|
|
|
|
| |
This means that their use is restricted to a single C file.
Notes:
svn path=/head/; revision=227293
|
| |
|
|
|
|
|
|
|
|
| |
context always. Convert nodes to consistently use M_WAITOK flag
for memory allocation.
Reviewed by: julian
Notes:
svn path=/head/; revision=220768
|
| |
|
|
| |
Notes:
svn path=/head/; revision=206015
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=189170
|
| |
|
|
|
|
|
|
| |
Found with: Coverity Prevent(tm)
CID: 2472
Notes:
svn path=/head/; revision=185182
|
| |
|
|
|
|
|
|
| |
be careful not to fix anything that was already broken; the NFSv4 code is
particularly bad in this respect.
Notes:
svn path=/head/; revision=184214
|
| |
|
|
|
|
|
| |
MFC after: 3 months
Notes:
svn path=/head/; revision=184205
|
| |
|
|
|
|
|
|
| |
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().
Notes:
svn path=/head/; revision=180943
|
| |
|
|
|
|
|
|
| |
of many connections working via the same tunnel. For example, in case
of full "client <-> LAC <-> LNS" setup.
Notes:
svn path=/head/; revision=177279
|
| |
|
|
| |
Notes:
svn path=/head/; revision=176971
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=176962
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=174554
|
| |
|
|
|
|
|
| |
Approved by: glebius (mentor)
Notes:
svn path=/head/; revision=172565
|
| |
|
|
|
|
|
|
|
| |
ng_l2tp_seq_check().
Approved by: glebius (mentor)
Notes:
svn path=/head/; revision=172564
|
| |
|
|
|
|
|
|
|
| |
reduce stack usage.
Approved by: mentor (glebius)
Notes:
svn path=/head/; revision=172563
|
| |
|
|
| |
Notes:
svn path=/head/; revision=172562
|
| |
|
|
|
|
|
|
|
|
|
|
| |
invariants.
Replace callout_pending() by callout_active() to remove race window.
Reviewed by: archie
Approved by: glebius (mentor)
Notes:
svn path=/head/; revision=169004
|
| |
|
|
|
|
|
| |
Approved by: glebius (mentor)
Notes:
svn path=/head/; revision=168981
|
| |
|
|
| |
Notes:
svn path=/head/; revision=148915
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=140064
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139823
|
| |
|
|
|
|
|
|
|
|
| |
for L2TP tunnel statistics (which do not take an argument sessionID).
Reviewed by: archie
Approved by: pjd (mentor)
Notes:
svn path=/head/; revision=133060
|
| |
|
|
|
|
|
|
| |
Reviewed by: archie
Approved by: pjd (mentor)
Notes:
svn path=/head/; revision=133058
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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)
Notes:
svn path=/head/; revision=133056
|
| |
|
|
|
|
|
|
|
| |
the old way of doing it.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Notes:
svn path=/head/; revision=131155
|
| |
|
|
|
|
|
|
|
|
|
| |
Should make no binary difference.
Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Reviewed by: Harti Brandt <harti@freebsd.org>
MFC after: 1 week
Notes:
svn path=/head/; revision=129823
|
| |
|
|
|
|
|
|
| |
Submitted by: Bjoern A. Zeeb <bzeeb+freebsd@zabbadoz.net>
MFC After: 3 days
Notes:
svn path=/head/; revision=127866
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113073
|
| |
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
| |
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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++)
Notes:
svn path=/head/; revision=108107
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102244
|
|
|
Obtained from: Packet Design
Notes:
svn path=/head/; revision=102195
|