On Thu, Sep 12, 2024 at 11:35:04AM +0200, Pablo Neira Ayuso wrote: > On Sun, Sep 08, 2024 at 01:07:44AM +0100, Kerin Millar wrote: > > On Sat, 7 Sep 2024, at 7:23 AM, Lars Noodén wrote: [...] > > Thirdly, if the set was specified to support stateful elements but has no defined 'timeout' value, the behaviour will be as if 'expires' had not been specified at all and the element will be added a permanent one, if it did not already exists. I consider this behaviour to be a bug because the outcome does not match the user's intent. I think that the kernel should instead raise EINVAL on the basis that the user is requesting for the element to be ephemeral but the request parameters make the request impossible to satisfy. > > flags timeout provides a hint to the kernel that element with timeouts > are possible, but default behaviour is "element times out" if not > specified. Forcing the user to provide a timeout does not sound very > flexible to me. Sorry, wording is not correct: ... are possible, but default behaviour is "element never times out" if not specified....