Skip to content
Commit 9de47d2b authored by Jani Hirsimäki's avatar Jani Hirsimäki Committed by Christopher Friedt
Browse files

net: ip: packet_socket: fixing raw sckt IPPROTO_RAW usage



net_packet_socket_input() was changed to hardcode the return of
NET_CONTINUE and that caused a segmentation fault/crash in
net_core/process_data(), in cases when pkt was unreferred and
NET_OK was returned from net_conn_input()
This happened with socket combo of: AF_PACKET+SOCK_RAW+IPPROTO_RAW.

Signed-off-by: default avatarJani Hirsimäki <jani.hirsimaki@nordicsemi.no>
parent f7219e8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment