Thread (7 messages) 7 messages, 3 authors, 2017-09-30

Re: [PATCH] netlink: do not proceed if dump's start() errs

From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: 2017-09-27 13:06:46
Also in: lkml, stable

Possibly related (same subject, not in this thread)

On Wed, Sep 27, 2017 at 3:05 PM, Johannes Berg
[off-list ref] wrote:
I guess you could change it to

if (cb->start)
        ret = cb->start(cb);
if (!ret)
        ret = netlink_dump(sk);
Very clean. I'll do it like that. I'll wait a bit longer before
submitting v2, but beyond that, seems sane to you?

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help