1. 28 Jan, 2008 1 commit
  2. 10 Nov, 2007 1 commit
  3. 10 Oct, 2007 1 commit
  4. 07 Jun, 2007 1 commit
  5. 25 Apr, 2007 3 commits
  6. 25 Mar, 2007 1 commit
    • Thomas Graf's avatar
      [NET]: Fix fib_rules compatibility breakage · e1701c68
      Thomas Graf authored
      
      
      Based upon a patch from Patrick McHardy.
      
      The fib_rules netlink attribute policy introduced in 2.6.19 broke
      userspace compatibilty. When specifying a rule with "from all"
      or "to all", iproute adds a zero byte long netlink attribute,
      but the policy requires all addresses to have a size equal to
      sizeof(struct in_addr)/sizeof(struct in6_addr), resulting in a
      validation error.
      
      Check attribute length of FRA_SRC/FRA_DST in the generic framework
      by letting the family specific rules implementation provide the
      length of an address. Report an error if address length is non
      zero but no address attribute is provided. Fix actual bug by
      checking address length for non-zero instead of relying on
      availability of attribute.
      Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e1701c68
  7. 02 Dec, 2006 6 commits
  8. 16 Oct, 2006 1 commit
  9. 04 Oct, 2006 1 commit
  10. 22 Sep, 2006 13 commits