Commit 7eebd219 authored by Qingfang Deng's avatar Qingfang Deng Committed by Jakub Kicinski
Browse files

pppoe: drop PACKET_OTHERHOST before skb_share_check()



Align with ip_rcv() by dropping PACKET_OTHERHOST packets before
calling skb_share_check(). This avoids unnecessary skb processing
for packets that will be discarded anyway.

Signed-off-by: default avatarQingfang Deng <dqfext@gmail.com>
Acked-by: default avatarGuillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20250623033431.408810-1-dqfext@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent c9e78afa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment