[PATCH 4.14 18/25] net: batman-adv: fix error handling