19 Oct, 2012

2 commits

  • Threads in the bottom half of batadv_bla_check_bcast_duplist() might
    otherwise for instance overwrite variables which other threads might
    be using/reading at the same time in the top half, potentially
    leading to messing up the bcast_duplist, possibly resulting in false
    bridge loop avoidance duplicate check decisions.

    Signed-off-by: Linus Lüssing
    Acked-by: Simon Wunderlich
    Signed-off-by: Marek Lindner

    Linus Lüssing
     
  • So far the crc16 checksum for a batman-adv broadcast data packet, received
    on a batman-adv hard interface, was calculated over zero bytes of its
    content leading to many incoming broadcast data packets wrongly being
    dropped (60-80% packet loss).

    This patch fixes this issue by calculating the crc16 over the actual,
    complete broadcast payload.

    The issue is a regression introduced by
    ("batman-adv: add broadcast duplicate check").

    Signed-off-by: Linus Lüssing
    Acked-by: Simon Wunderlich
    Signed-off-by: Marek Lindner

    Linus Lüssing
     

29 Sep, 2012

1 commit

  • Conflicts:
    drivers/net/team/team.c
    drivers/net/usb/qmi_wwan.c
    net/batman-adv/bat_iv_ogm.c
    net/ipv4/fib_frontend.c
    net/ipv4/route.c
    net/l2tp/l2tp_netlink.c

    The team, fib_frontend, route, and l2tp_netlink conflicts were simply
    overlapping changes.

    qmi_wwan and bat_iv_ogm were of the "use HEAD" variety.

    With help from Antonio Quartulli.

    Signed-off-by: David S. Miller

    David S. Miller
     

24 Sep, 2012

2 commits

  • If receiving an OGM from a neighbor other than the currently selected
    and if it has the same TQ then we are supposed to switch if this
    neighbor provides a more symmetric link than the currently selected one.

    However this symmetry check currently is broken if the interface of the
    neighbor we received the OGM from and the one of the currently selected
    neighbor differ: We are currently trying to determine the symmetry of the
    link towards the selected router via the link we received the OGM from
    instead of just checking via the link towards the currently selected
    router.

    This leads to way more route switches than necessary and can lead to
    permanent route flapping in many common multi interface setups.

    This patch fixes this issue by using the right interface for this
    symmetry check.

    Signed-off-by: Linus Lüssing

    Linus Lüssing
     
  • Into function interface_set_mac_addr, the function tt_local_add was
    invoked before updating dev->dev_addr. The new MAC address was not
    tagged as NoPurge.

    Signed-off-by: Def

    Def
     

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
     

23 Aug, 2012

18 commits


09 Aug, 2012

1 commit


07 Aug, 2012

1 commit


11 Jul, 2012

2 commits


06 Jul, 2012

1 commit

  • If the gateway functionality is used, some broadcast packets (DHCP
    requests) may be transmitted as unicast packets. As the bridge loop
    avoidance code now only considers the payload Ethernet destination,
    it may drop the DHCP request for clients which are claimed by other
    backbone gateways, because it falsely infers from the broadcast address
    that the right backbone gateway should havehandled the broadcast.

    Fix this by checking and delegating the batman-adv packet type used
    for transmission.

    Reported-by: Guido Iribarren
    Signed-off-by: Simon Wunderlich

    Simon Wunderlich
     

02 Jul, 2012

11 commits