DragonFly- master sys/dev/netif/jme if_jme.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Mar 13 20:10:00 PDT 2009

commit e4616e94e0d895be10150f3580e7bc8507f1b0c3
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Mar 14 10:22:25 2009 +0800

    jme(4): Correct SIOCSIFCAP ioctl handling
    - Upper layer will always check if_capabilities against ifreq,
      so we don't need to check if_capabilities again.
    - When IFCAP_RSS changes, the jme_init() should be called only if
      the interface is running.
    - Don't use compile time condition for the code handling IFCAP_RSS.

Summary of changes:
 sys/dev/netif/jme/if_jme.c |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)


DragonFly BSD source repository

More information about the Commits mailing list