Re: [B.A.T.M.A.N.] [PATCH maint 1/2] batman-adv: Ignore invalid batadv_iv_gw during netlink send

2018-02-26 Thread Simon Wunderlich
On Monday, February 19, 2018 2:08:52 PM CET Sven Eckelmann wrote: > The function batadv_iv_gw_dump stops the processing loop when > batadv_iv_gw_dump_entry returns a non-0 return code. This should only > happen when the buffer is full. Otherwise, an empty message may be > returned by batadv_gw_dump

[B.A.T.M.A.N.] [PATCH maint 1/2] batman-adv: Ignore invalid batadv_iv_gw during netlink send

2018-02-19 Thread Sven Eckelmann
The function batadv_iv_gw_dump stops the processing loop when batadv_iv_gw_dump_entry returns a non-0 return code. This should only happen when the buffer is full. Otherwise, an empty message may be returned by batadv_gw_dump. This empty message will then stop the netlink dumping of gateway entries