1. 25 2月, 2010 1 次提交
    • P
      net: Add checking to rcu_dereference() primitives · a898def2
      Paul E. McKenney 提交于
      Update rcu_dereference() primitives to use new lockdep-based
      checking. The rcu_dereference() in __in6_dev_get() may be
      protected either by rcu_read_lock() or RTNL, per Eric Dumazet.
      The rcu_dereference() in __sk_free() is protected by the fact
      that it is never reached if an update could change it.  Check
      for this by using rcu_dereference_check() to verify that the
      struct sock's ->sk_wmem_alloc counter is zero.
      Acked-by: NEric Dumazet <eric.dumazet@gmail.com>
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: laijs@cn.fujitsu.com
      Cc: dipankar@in.ibm.com
      Cc: mathieu.desnoyers@polymtl.ca
      Cc: josh@joshtriplett.org
      Cc: dvhltc@us.ibm.com
      Cc: niv@us.ibm.com
      Cc: peterz@infradead.org
      Cc: rostedt@goodmis.org
      Cc: Valdis.Kletnieks@vt.edu
      Cc: dhowells@redhat.com
      LKML-Reference: <1266887105-1528-5-git-send-email-paulmck@linux.vnet.ibm.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      a898def2
  2. 15 9月, 2009 1 次提交
  3. 25 3月, 2009 1 次提交
  4. 15 8月, 2008 1 次提交
  5. 12 6月, 2008 1 次提交
    • B
      ipv6 netns: Address labels per namespace · 3de23255
      Benjamin Thery 提交于
      This pacth makes IPv6 address labels per network namespace.
      It keeps the global label tables, ip6addrlbl_table, but
      adds a 'net' member to each ip6addrlbl_entry.
      This new member is taken into account when matching labels.
      
      Changelog
      =========
      * v1: Initial version
      * v2:
        * Minize the penalty when network namespaces are not configured:
            *  the 'net' member is added only if CONFIG_NET_NS is
               defined. This saves space when network namespaces are not
               configured.
            * 'net' value is retrieved with the inlined function
               ip6addrlbl_net() that always return &init_net when
               CONFIG_NET_NS is not defined.
        * 'net' member in ip6addrlbl_entry renamed to the less generic
          'lbl_net' name (helps code search).
      Signed-off-by: NBenjamin Thery <benjamin.thery@bull.net>
      Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
      3de23255
  6. 05 6月, 2008 1 次提交
  7. 12 4月, 2008 5 次提交
  8. 03 4月, 2008 1 次提交
  9. 29 3月, 2008 1 次提交
  10. 27 3月, 2008 1 次提交
  11. 25 3月, 2008 2 次提交
  12. 06 3月, 2008 1 次提交
  13. 04 3月, 2008 2 次提交
  14. 29 1月, 2008 7 次提交
  15. 11 7月, 2007 1 次提交
    • M
      [IPV6] MIP6: Loadable module support for MIPv6. · 59fbb3a6
      Masahide NAKAMURA 提交于
      This patch makes MIPv6 loadable module named "mip6".
      
      Here is a modprobe.conf(5) example to load it automatically
      when user application uses XFRM state for MIPv6:
      
      alias xfrm-type-10-43 mip6
      alias xfrm-type-10-60 mip6
      
      Some MIPv6 feature is not included by this modular, however,
      it should not be affected to other features like either IPsec
      or IPv6 with and without the patch.
      We may discuss XFRM, MH (RAW socket) and ancillary data/sockopt
      separately for future work.
      
      Loadable features:
      * MH receiving check (to send ICMP error back)
      * RO header parsing and building (i.e. RH2 and HAO in DSTOPTS)
      * XFRM policy/state database handling for RO
      
      These are NOT covered as loadable:
      * Home Address flags and its rule on source address selection
      * XFRM sub policy (depends on its own kernel option)
      * XFRM functions to receive RO as IPv6 extension header
      * MH sending/receiving through raw socket if user application
        opens it (since raw socket allows to do so)
      * RH2 sending as ancillary data
      * RH2 operation with setsockopt(2)
      Signed-off-by: NMasahide NAKAMURA <nakam@linux-ipv6.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      59fbb3a6
  16. 26 4月, 2007 1 次提交
  17. 03 12月, 2006 1 次提交
  18. 23 9月, 2006 3 次提交
  19. 26 4月, 2006 1 次提交
  20. 30 8月, 2005 1 次提交
  21. 04 5月, 2005 2 次提交
  22. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4