1. 14 Sep, 2012 1 commit
  2. 13 Sep, 2012 15 commits
  3. 12 Sep, 2012 5 commits
  4. 11 Sep, 2012 1 commit
  5. 10 Sep, 2012 7 commits
  6. 09 Sep, 2012 2 commits
  7. 08 Sep, 2012 1 commit
    • Chema Gonzalez's avatar
      net: small bug on rxhash calculation · 68622342
      Chema Gonzalez authored
      In the current rxhash calculation function, while the
      sorting of the ports/addrs is coherent (you get the
      same rxhash for packets sharing the same 4-tuple, in
      both directions), ports and addrs are sorted
      independently. This implies packets from a connection
      between the same addresses but crossed ports hash to
      the same rxhash.
      
      For example, traffic between A=S:l and B=L:s is hashed
      (in both directions) from {L, S, {s, l}}. The same
      rxhash is obtained for packets between C=S:s and D=L:l.
      
      This patch ensures that you either swap both addrs and ports,
      or you swap none. Traffic between A and B, and traffic
      between C and D, get their rxhash from different sources
      ({L, S, {l, s}} for A<->B, and {L, S, {s, l}} for C<->D)
      
      The patch is co-written with Eric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarChema Gonzalez <chema@google.com>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      68622342
  8. 07 Sep, 2012 8 commits