Skip to contentSkip to conversation

ebtables: Fix for broken chain renaming

PATCH Phil Sutter 1 participant 1 message Nov 17, 2020 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20201117110804.GA12096@salvia

Phil Sutter

author reviewer
#1 lore raw

Hi,

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")

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

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1898130