1. 06 Dec, 2006 1 commit
    • jamal's avatar
      Multicast computation off by one · 83ef226b
      jamal authored
      A small typo fixup
      BTW, how do you like the subject to look like?
      
      cheers,
      jamal
      
      [GENL] Multicast computation off by one
      
      When using the first 32 groups, the multicast group to bit mapping
      was off by one.
      
      Signed-off-by: Jamal Hadi Salim
      Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
      83ef226b
  2. 05 Dec, 2006 7 commits
  3. 27 Nov, 2006 8 commits
  4. 10 Nov, 2006 1 commit
  5. 09 Nov, 2006 1 commit
  6. 27 Oct, 2006 1 commit
  7. 26 Oct, 2006 2 commits
  8. 19 Oct, 2006 5 commits
  9. 02 Oct, 2006 2 commits
  10. 26 Sep, 2006 4 commits
  11. 25 Sep, 2006 1 commit
  12. 11 Aug, 2006 1 commit
    • Andy Gay's avatar
      Fix struct alignment with cris architecture · af1b6a41
      Andy Gay authored
      [IPROUTE]: Fix struct alignment with cris architecture
      
      gcc for the cris arch does not pad structures to the next multiple of 4
      bytes, as the i386 gcc does.
      
      This causes errors like this when displaying xfrm policies:
      
      # ip x p
      !!!Deficit 3, rta_len=300
      src 192.168.251.32/29 dst 192.168.251.32/29
              dir in priority 0
      !!!Deficit 3, rta_len=180
      src 0.0.0.0/0 dst 192.168.251.32/29
              dir in priority 2208
      ....
      
      Similar errors are seen from ip x s.
      
      This patch fixes the errors when printing. I'm not sure whether we
      should worry about other uses of the affected structs, I've not seen any
      other bad effects from this though, so hopefully this is enough.
      
      (Thanks to Herbert Xu for pointing out that NLMSG_SPACE is the correct
      macro to use here.)
      
      Tested against 2.6.17.6 kernel on i386, and 2.6.16.1 kernel on cris.
      Signed-off-by: default avatarAndy Gay <andy@andynet.net>
      Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
      af1b6a41
  13. 10 Aug, 2006 4 commits
  14. 08 Aug, 2006 2 commits