mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-04-15 06:28:00 +02:00
wired: Include extra check for ARPHRD_ETHER on packet reception
This commit is contained in:
parent
1ee7de15c8
commit
e0e046c784
@ -257,6 +257,9 @@ static bool pae_read(struct l_io *io, void *user_data)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sll.sll_hatype != ARPHRD_ETHER)
|
||||||
|
return true;
|
||||||
|
|
||||||
if (sll.sll_halen != ETH_ALEN)
|
if (sll.sll_halen != ETH_ALEN)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user