[PATCH v9 3/4] Netlink: handle multi netlink messages

Fabien Siron fabien.siron at epita.fr
Wed Jul 13 09:58:27 UTC 2016


Quoting Dmitry V. Levin (2016-07-07 12:34:19)
> On Wed, Jul 06, 2016 at 03:49:24PM +0000, Fabien Siron wrote:
> > Handle the case where there are several messages in the buffer.
> > This is very useful to some protocols like SOCK_DIAG.
> > 
> > * netlink.c (fetch_nlmsg, next_nlmsg): New functions.
> > (decode_netlink_msg): New function.
> > (decode_netlink): Call decode_netlink_msg().
> > * tests/netlink_parsing.c (send_query): Adapt test.
> 
> This is v9 but the code hasn't matured for the merge yet, and I'm getting
> tired explaining its problems over and over again, so here is a kind of
> commit I was expecting all this time, feel free to reuse it.
> 

Okay, sorry for that.

Regards,
--
Fabien Siron




More information about the Strace-devel mailing list