From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/staging/wlan-ng/p80211conv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/staging/wlan-ng/p80211conv.c b/kernel/drivers/staging/wlan-ng/p80211conv.c index 91debcf..0ff5fda 100644 --- a/kernel/drivers/staging/wlan-ng/p80211conv.c +++ b/kernel/drivers/staging/wlan-ng/p80211conv.c @@ -430,7 +430,7 @@ /* A bogus length ethfrm has been sent. */ /* Is someone trying an oflow attack? */ netdev_err(netdev, "DIXII frame too large (%ld > %d)\n", - (long int)(payload_length - + (long)(payload_length - sizeof(struct wlan_llc) - sizeof(struct wlan_snap)), netdev->mtu); return 1; -- Gitblit v1.6.2