network: xfrm: refuse zero interface ID

Since kernel 5.17-rc1, 5.16.3, and 5.15.17 (more specifically,
https://github.com/torvalds/linux/commit/8dce43919566f06e865f7e8949f5c10d8c2493f5)
the kernel refuses to create an xfrm interface with zero ID.
This commit is contained in:
Yu Watanabe
2022-02-01 13:15:11 +09:00
parent 04660b10d3
commit fd11005951
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -1994,7 +1994,7 @@
<term><varname>InterfaceId=</varname></term>
<listitem>
<para>Sets the ID/key of the xfrm interface which needs to be associated with a SA/policy.
Can be decimal or hexadecimal, valid range is 0-0xffffffff, defaults to 0.</para>
Can be decimal or hexadecimal, valid range is 1-0xffffffff. This is mandatory.</para>
</listitem>
</varlistentry>
<varlistentry>