Skip to content

Commit b5f9065

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 b5f9065

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
@@ -251,6 +251,11 @@ 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, ``AF_PACKET/SOCK_DGRAM/ETH_P_ALL`` or ``AF_INET(6)/SOCK_RAW/IPPROTO_IP``
257+
sockets can be used, depending on the actual use case.
258+
254259
SPI
255260
===
256261

0 commit comments

Comments
 (0)