commit e0e046c7846096add36274512af2dc6b280a80ad
parent 1ee7de15c83139f40336233252550637b81d2943
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Tue, 16 Oct 2018 14:40:18 +0200
wired: Include extra check for ARPHRD_ETHER on packet reception
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/wired/ethdev.c b/wired/ethdev.c
@@ -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;