[commits] [batman-adv] maint: batman-adv: avoid NULL dereferences and fix if check (cb2b79e)