Skip to content

Commit 52eb3e3

Browse files
rluboskartben
authored andcommitted
doc: migration-guide-4-2: Add entry about dropped IPPROTO_RAW support
Add migration guide entry about dropped IPPROTO_RAW support from AF_PACKET sockets, with possible alternatives. Signed-off-by: Robert Lubos <[email protected]>
1 parent 307694f commit 52eb3e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,11 @@ Networking
258258
is optional and not used with older MQTT versions - MQTT 3.1.1 users should pass
259259
NULL as an argument.
260260

261+
* The ``AF_PACKET/SOCK_RAW/IPPROTO_RAW`` socket combination is no longer supported,
262+
as ``AF_PACKET`` sockets should only accept IEEE 802.3 protocol numbers. As an
263+
alternative, ``AF_PACKET/SOCK_DGRAM/ETH_P_ALL`` or ``AF_INET(6)/SOCK_RAW/IPPROTO_IP``
264+
sockets can be used, depending on the actual use case.
265+
261266
SPI
262267
===
263268

0 commit comments

Comments
 (0)