12 Jan, 2014

1 commit


09 Jan, 2014

1 commit


19 Jan, 2013

1 commit


20 Sep, 2012

1 commit

  • On some architectures test_bit() can return other values than 0 or 1:

    With a generic x86 OpenWrt image in a kvm setup (batadv_)test_bit()
    frequently returns -1 for me, leading to batadv_iv_ogm_update_seqnos()
    wrongly signaling a protected seqno window.

    This patch tries to fix this issue by making batadv_test_bit() return 0
    or 1 only.

    Signed-off-by: Linus Lüssing
    Acked-by: Sven Eckelmann
    Signed-off-by: Antonio Quartulli
    Signed-off-by: David S. Miller

    Linus Lüssing
     

28 Jun, 2012

1 commit


25 Jun, 2012

1 commit


21 Jun, 2012

2 commits


11 Apr, 2012

1 commit


17 Feb, 2012

1 commit


20 Jun, 2011

2 commits

  • char was used in different places to store information without really
    using the characteristics of that data type or by ignoring the fact that
    char has not a well defined signedness.

    Signed-off-by: Sven Eckelmann

    Sven Eckelmann
     
  • count_real_packets() in batman-adv assumes char is signed, and returns -1
    through it:

    net/batman-adv/routing.c: In function 'receive_bat_packet':
    net/batman-adv/routing.c:739: warning: comparison is always false due to limited range of data type

    Use int instead.

    Signed-off-by: David Howells
    [sven@narfation.org: Rebase on top of current version]
    Signed-off-by: Sven Eckelmann

    David Howells
     

30 May, 2011

1 commit


31 Jan, 2011

1 commit


17 Dec, 2010

1 commit

  • B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is a routing
    protocol for multi-hop ad-hoc mesh networks. The networks may be wired or
    wireless. See http://www.open-mesh.org/ for more information and user space
    tools.

    Signed-off-by: Sven Eckelmann
    Signed-off-by: David S. Miller

    Sven Eckelmann