1. 26 Jul, 2010 1 commit
  2. 25 Jul, 2010 1 commit
  3. 22 Jul, 2010 3 commits
  4. 21 Jul, 2010 1 commit
  5. 20 Jul, 2010 2 commits
  6. 19 Jul, 2010 1 commit
  7. 18 Jul, 2010 1 commit
    • Arnaud Ebalard's avatar
      IPv6: fix CoA check in RH2 input handler (mip6_rthdr_input()) · d9a9dc66
      Arnaud Ebalard authored
      
      The input handler for Type 2 Routing Header (mip6_rthdr_input())
      checks if the CoA in the packet matches the CoA in the XFRM state.
      
      Current check is buggy: it compares the adddress in the Type 2
      Routing Header, i.e. the HoA, against the expected CoA in the state.
      The comparison should be made against the address in the destination
      field of the IPv6 header.
      
      The bug remained unnoticed because the main (and possibly only current)
      user of the code (UMIP MIPv6 Daemon) initializes the XFRM state with the
      unspecified address, i.e. explicitly allows everything.
      
      Yoshifuji-san, can you ack that one?
      Signed-off-by: default avatarArnaud Ebalard <arno@natisbad.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d9a9dc66
  8. 16 Jul, 2010 1 commit
  9. 14 Jul, 2010 5 commits
  10. 12 Jul, 2010 2 commits
  11. 09 Jul, 2010 1 commit
  12. 08 Jul, 2010 3 commits
  13. 07 Jul, 2010 1 commit
  14. 05 Jul, 2010 1 commit
  15. 04 Jul, 2010 1 commit
  16. 03 Jul, 2010 1 commit
    • John Fastabend's avatar
      net: decreasing real_num_tx_queues needs to flush qdisc · f0796d5c
      John Fastabend authored
      
      Reducing real_num_queues needs to flush the qdisc otherwise
      skbs with queue_mappings greater then real_num_tx_queues can
      be sent to the underlying driver.
      
      The flow for this is,
      
      dev_queue_xmit()
      	dev_pick_tx()
      		skb_tx_hash()  => hash using real_num_tx_queues
      		skb_set_queue_mapping()
      	...
      	qdisc_enqueue_root() => enqueue skb on txq from hash
      ...
      dev->real_num_tx_queues -= n
      ...
      sch_direct_xmit()
      	dev_hard_start_xmit()
      		ndo_start_xmit(skb,dev) => skb queue set with old hash
      
      skbs are enqueued on the qdisc with skb->queue_mapping set
      0 < queue_mappings < real_num_tx_queues.  When the driver
      decreases real_num_tx_queues skb's may be dequeued from the
      qdisc with a queue_mapping greater then real_num_tx_queues.
      
      This fixes a case in ixgbe where this was occurring with DCB
      and FCoE. Because the driver is using queue_mapping to map
      skbs to tx descriptor rings we can potentially map skbs to
      rings that no longer exist.
      Signed-off-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
      Tested-by: default avatarRoss Brattain <ross.b.brattain@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f0796d5c
  17. 02 Jul, 2010 1 commit
  18. 29 Jun, 2010 2 commits
  19. 26 Jun, 2010 1 commit
  20. 25 Jun, 2010 1 commit
  21. 24 Jun, 2010 1 commit
  22. 22 Jun, 2010 1 commit
  23. 21 Jun, 2010 1 commit
  24. 17 Jun, 2010 1 commit
  25. 16 Jun, 2010 3 commits
  26. 13 Jun, 2010 2 commits