Thread (3 messages) 3 messages, 2 authors, 2021-03-09

Re: [PATCH] net: bridge: fix error return code of do_update_counters()

From: Florian Westphal <fw@strlen.de>
Date: 2021-03-09 11:02:36
Also in: bridge, lkml, netfilter-devel

Jia-Ju Bai [off-list ref] wrote:
When find_table_lock() returns NULL to t, no error return code of
do_update_counters() is assigned.
Its -ENOENT.
 	t = find_table_lock(net, name, &ret, &ebt_mutex);
                                       ^^^^^

ret is passed to find_table_lock, which passes it to
find_inlist_lock_noload() which will set *ret = -ENOENT
for NULL case.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help