1. 29 1月, 2008 1 次提交
    • H
      [IPV4]: Add ip_local_out · c439cb2e
      Herbert Xu 提交于
      Most callers of the LOCAL_OUT chain will set the IP packet length and
      header checksum before doing so.  They also share the same output
      function dst_output.
      
      This patch creates a new function called ip_local_out which does all
      of that and converts the appropriate users over to it.
      
      Apart from removing duplicate code, it will also help in merging the
      IPsec output path once the same thing is done for IPv6.
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c439cb2e
  2. 26 1月, 2008 1 次提交
    • R
      IPoIB: improve IPv4/IPv6 to IB mcast mapping functions · a9e527e3
      Rolf Manderscheid 提交于
      An IPoIB subnet on an IB fabric that spans multiple IB subnets can't
      use link-local scope in multicast GIDs.  The existing routines that
      map IP/IPv6 multicast addresses into IB link-level addresses hard-code
      the scope to link-local, and they also leave the partition key field
      uninitialised.  This patch adds a parameter (the link-level broadcast
      address) to the mapping routines, allowing them to initialise both the
      scope and the P_Key appropriately, and fixes up the call sites.
      
      The next step will be to add a way to configure the scope for an IPoIB
      interface.
      Signed-off-by: NRolf Manderscheid <rvm@obsidianresearch.com>
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      a9e527e3
  3. 16 10月, 2007 4 次提交
  4. 11 10月, 2007 1 次提交
  5. 08 6月, 2007 1 次提交
  6. 26 4月, 2007 4 次提交
  7. 26 1月, 2007 1 次提交
  8. 11 12月, 2006 1 次提交
  9. 03 12月, 2006 4 次提交
  10. 29 9月, 2006 6 次提交
  11. 18 6月, 2006 1 次提交
  12. 26 4月, 2006 1 次提交
  13. 10 4月, 2006 1 次提交
  14. 21 3月, 2006 1 次提交
  15. 16 2月, 2006 1 次提交
    • P
      [XFRM]: Fix SNAT-related crash in xfrm4_output_finish · 48d5cad8
      Patrick McHardy 提交于
      When a packet matching an IPsec policy is SNATed so it doesn't match any
      policy anymore it looses its xfrm bundle, which makes xfrm4_output_finish
      crash because of a NULL pointer dereference.
      
      This patch directs these packets to the original output path instead. Since
      the packets have already passed the POST_ROUTING hook, but need to start at
      the beginning of the original output path which includes another
      POST_ROUTING invocation, a flag is added to the IPCB to indicate that the
      packet was rerouted and doesn't need to pass the POST_ROUTING hook again.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      48d5cad8
  16. 08 1月, 2006 3 次提交
  17. 06 1月, 2006 1 次提交
  18. 04 1月, 2006 2 次提交
  19. 30 8月, 2005 4 次提交
  20. 14 6月, 2005 1 次提交