Changeset 760e894 in rtems-libbsd


Ignore:
Timestamp:
Nov 12, 2013, 8:36:18 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
b4d6afd
Parents:
0d48d6e
git-author:
Sebastian Huber <sebastian.huber@…> (11/12/13 08:36:18)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/13/13 13:10:35)
Message:

NETISR(9): Fix NULL pointer access

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/net/netisr.c

    r0d48d6e r760e894  
    10431043         */
    10441044        if (dispatch_policy == NETISR_DISPATCH_DIRECT) {
     1045#ifndef __rtems__
    10451046                nwsp = DPCPU_PTR(nws);
     1047#else /* __rtems__ */
     1048                nwsp = &rtems_bsd_nws;
     1049#endif /* __rtems__ */
    10461050                npwp = &nwsp->nws_work[proto];
    10471051                npwp->nw_dispatched++;
     
    10721076        if (cpuid != curcpu)
    10731077                goto queue_fallback;
     1078#ifndef __rtems__
    10741079        nwsp = DPCPU_PTR(nws);
     1080#else /* __rtems__ */
     1081        nwsp = &rtems_bsd_nws;
     1082#endif /* __rtems__ */
    10751083        npwp = &nwsp->nws_work[proto];
    10761084
Note: See TracChangeset for help on using the changeset viewer.