Switch branches/tags
Nothing to show
Commits on Mar 11, 2012
  1. It is important to submit no new requests to miniport driver until or…

    …iginal request is still in pending state. This fixes various panics and weird behaviour mostly (only?) for wifi devices.
    vladmovchan committed Mar 1, 2012
  2. Workaround a deadlock which could happen in KeAcquireSpinLockAtDpcLev…

    …el/KefAcquireSpinLockAtDpcLevel between "dpc" thread and one of "worker" threads/queues.
    In UP system case deadlock could happen if "worker" thread acquired a lock (which is not actual spin mutex in FreeBSD) and got preempted by "dpc" thread which is trying to acquire the same lock. "Dpc" thread has higher priority, so it will spin the lock forever without letting "worker" thread to finish its work and release the lock.
    In SMP system case this deadlock should not occur after sched_pin/sched_unpin got removed from KfRaiseIrql/KfLowerIrql functions.
    vladmovchan committed Feb 27, 2012
  3. It is no longer necessary to pin to specified CPU as per-CPU disp_loc…

    …k array has been replaced with single lock used for all CPUs.
    vladmovchan committed Feb 27, 2012
Commits on Mar 3, 2012
  1. cosmetics: kill extra line

    committed Feb 5, 2012
  2. Fix panic which could occur when

    ndis_get(sc, OID_802_11_SSID, &ssid, sizeof(ssid))
    returns 0, but writes nothing into "ssid" like in this debug output:
    req 0 sc 0xfffffe0008876000 oid 0D010102 buf 0xffffff80d1165a80 buflen 36 written 0 needed 0 rval 00000000
    In such cases ssid.len could lead memcpy out of ssid bounds and panic like this:
    panic: vm_fault: fault on nofault entry, addr: ffffff80d1166000
    cpuid = 1
    KDB: stack backtrace:
    db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
    kdb_backtrace() at kdb_backtrace+0x37
    panic() at panic+0x1cd
    vm_fault_hold() at vm_fault_hold+0x1a3a
    trap_pfault() at trap_pfault+0x248
    trap() at trap+0x379
    calltrap() at calltrap+0x8
    --- trap 0xc, rip = 0xffffffff80937ab8, rsp = 0xffffff80d1165a10, rbp = 0xffffff80d1165ae0 ---
    memcpy() at memcpy+0x8
    ieee80211_newstate_cb() at ieee80211_newstate_cb+0xac
    taskqueue_run_locked() at taskqueue_run_locked+0x93
    taskqueue_thread_loop() at taskqueue_thread_loop+0x3e
    fork_exit() at fork_exit+0x189
    fork_trampoline() at fork_trampoline+0xe
    --- trap 0, rip = 0, rsp = 0xffffff80d1165cf0, rbp = 0 ---
    KDB: enter: panic
    vladmovchan committed with Feb 27, 2012
  3. Silent several warnings

    vladmovchan committed with Feb 27, 2012
  4. More NDIS 6 stubs (for now).

    committed Mar 12, 2011
  5. Silent two more warnings

    vladmovchan committed with Feb 27, 2012
  6. cleanup ndis_attach()

    committed Feb 28, 2012
  7. MFC svn227843

    committed Nov 22, 2011
  8. remove dead store

    committed Feb 28, 2012
  9. Fix found places where uio_resid is truncated to int.

    MFC svn231949
    kostikbel committed with Feb 27, 2012
  10. Initial debug for Io* calls

    committed Nov 18, 2011
  11. Trace more Zw* stuff.

    Probably full implemetation is required to make additional drivers work.
    committed Jun 23, 2011
Commits on Feb 5, 2012
  1. Prevent mbuf leak/packet drop in case when ndis_txarray "head" catces…

    … its "tail". Originally I put this check into a wrong place
    vladmovchan committed Feb 5, 2012
Commits on Feb 1, 2012
  1. Revert "Don't use kernel stack."

    My mistake this does not apply to stable9.
    This reverts commit 181bfd4.
    committed Feb 1, 2012
Commits on Jan 31, 2012
  1. Don't use kernel stack.

    vladmovchan committed with Jan 31, 2012
Commits on Jan 29, 2012
  1. Revert "Explicitly revert part of previous merge for STABLE."

    This reverts commit 5aaaa64.
    committed Jan 29, 2012
  2. bump

    committed Jan 29, 2012
  3. fix compilation

    committed Jan 29, 2012
Commits on Jan 8, 2012
  1. Do not pass garbage to resource_list_add().

    In sys/dev/if_ndis/if_ndis_pccard.c, fix a bug where a garbage rid was
    passed to resource_list_add().  The rid that was just returned by
    bus_alloc_resource_any() should have been used instead.
    MFC svn229401
    DimitryAndric committed with Jan 8, 2012
  2. Improve packets transmission.

    Also fixes panic.
    vladmovchan committed with Jan 8, 2012
Commits on Nov 26, 2011
  1. Let it compile.

    committed Dec 22, 2010
Commits on Nov 24, 2011
  1. Add NdisWriteEventLogEntry()

    committed Mar 29, 2011
  2. Do not use DELAY() here.

    committed Apr 19, 2011
  3. Simplify RtlCompareMemory()

    committed Nov 19, 2011
  4. Cleanup.

    committed Mar 12, 2011
  5. Cleanup.

    committed Mar 12, 2011
  6. Add

    committed Mar 25, 2011