1. 04 9月, 2008 19 次提交
  2. 03 9月, 2008 19 次提交
  3. 30 8月, 2008 2 次提交
    • D
      net: Unbreak userspace usage of linux/mroute.h · 7c19a3d2
      David S. Miller 提交于
      Nothing in linux/pim.h should be exported to userspace.
      
      This should fix the XORP build failure reported by
      Jose Calhariz, the debain package maintainer.
      
      Nothing originally in linux/mroute.h was exported to userspace
      ever, but some of this stuff started to be when it was moved into
      this new linux/pim.h, and that was wrong.  If we didn't provide these
      definitions for 10 years we can reasonably expect that applications
      defined this stuff locally or used GLIBC headers providing the
      protocol definitions.  And as such the only result of this can
      be conflict and userland build breakage.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7c19a3d2
    • J
      pkt_sched: Fix locking of qdisc_root with qdisc_root_sleeping_lock() · 102396ae
      Jarek Poplawski 提交于
      Use qdisc_root_sleeping_lock() instead of qdisc_root_lock() where
      appropriate. The only difference is while dev is deactivated, when
      currently we can use a sleeping qdisc with the lock of noop_qdisc.
      This shouldn't be dangerous since after deactivation root lock could
      be used only by gen_estimator code, but looks wrong anyway.
      Signed-off-by: NJarek Poplawski <jarkao2@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      102396ae