Thread (27 messages) 27 messages, 4 authors, 2016-09-28

Re: [PATCH v5] net: ip, diag -- Add diag interface for raw sockets

flat view

From: Cyrill Gorcunov <hidden>
Date: 2016-09-28 13:09:35
Also in: lkml

On Wed, Sep 28, 2016 at 06:02:11AM -0700, Eric Dumazet wrote:
This is a bit different of course, since struct tc_fq_qd_stats is only
one way : Kernel produces the content and gives it to user space.

User space should probably not need to initialize such a structure, but
who knows what a programmer can write ;)
It's the same issue as I have: the users may have initialized tc_fq_qd_stats for
some reson. But since nobody complained yet about such change -- it is a good
sign of catching the luck :)

You know at the moment I'm not sure how to be then -- either leave it as
uninon, either rename it (via patch on top), or even simply require the
protocol to be passed as additional data in netlink packet...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help