mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01: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;
|
||||
}
|
||||
|
||||
if (sll.sll_hatype != ARPHRD_ETHER)
|
||||
return true;
|
||||
|
||||
if (sll.sll_halen != ETH_ALEN)
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user