ebtables: Fix for broken chain renaming
A message that is not in the archive (sent off-list or not yet received): 20201117110804.GA12096@salvia
Phil Sutter
reviewerHi,
Quoted 10 lines · Florian Westphal
Quoted 7 lines · Phil Sutter
Loading extensions pollutes 'errno' value, hence before using it to indicate failure it should be sanitized. This was done by the called function before the parsing/netlink split and not migrated by accident. Move it into calling code to clarify the connection.
Fixes a7f1e208cdf9c ("nft: split parsing from netlink commands")Signed-off-by Phil Sutter <[email protected]>Heh. Thanks for adding a test -- LGTM, feel free to push this.
DONE. Thanks for the quick review, I'll go fix Fedora now. :/
Quoted 1 line · Pablo Neira Ayuso
LGTM, this is fixing one recent netfilter's bugzilla ticket, right?
Oh, right! I noticed it because of a ticket for Fedora[1]. Will close nfbz#1481 as well. Thanks for the heads-up!
Cheers, Phil