Skip to content

Commit 2255341

Browse files
committed
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 d4f2abb commit 2255341

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,12 @@ Networking
251251
is optional and not used with older MQTT versions - MQTT 3.1.1 users should pass
252252
NULL as an argument.
253253

254+
* The ``AF_PACKET/SOCK_RAW/IPPROTO_RAW`` socket combination is no longer supported,
255+
as ``AF_PACKET`` sockets should only accept IEEE 802.3 protocol numbers. As an
256+
alternative, use ``AF_PACKET/SOCK_DGRAM/ETH_P_ALL`` or
257+
``AF_INET(6)/SOCK_RAW/IPPROTO_IP`` sockets can be used, depending on the
258+
actual use case.
259+
254260
SPI
255261
===
256262

0 commit comments

Comments
 (0)