Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2009 19:50:39 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/re if_re.c
Message-ID:  <200911291950.nATJoxAQ009332@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2009-11-29 19:50:39 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/re           if_re.c 
  Log:
  SVN rev 199931 on 2009-11-29 19:50:39Z by yongari
  
  MFC 198814.
    Add a check to know whether driver is still running after
    reacquiring driver lock in Rx handler. re(4) drops a driver lock
    before passing received frame to upper stack and reacquire the
    lock. During the time window ioctl calls could be executed and if
    the ioctl was interface down request, driver will stop the
    controller and free allocated mbufs. After that when driver comes
    back to Rx handler again it does not know what was happend so it
    could access free mbufs which in turn cause panic.
  
    Reported by:  Norbert Papke < npapk <> acm dot org >
    Tested by:    Norbert Papke < npapk <> acm dot org >
  
  Revision   Changes    Path
  1.95.2.50  +2 -0      src/sys/dev/re/if_re.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911291950.nATJoxAQ009332>