Renamed patches to keep their original numbering from codelinaro.org Fixed minor bugs and added support for the qca-nss-drv-l2tpv2 module
26 lines
702 B
Diff
26 lines
702 B
Diff
From 02b406e82dfde895c03a03e9016844138a2ea421 Mon Sep 17 00:00:00 2001
|
|
From: Ken Zhu <quic_guigenz@quicinc.com>
|
|
Date: Thu, 14 Oct 2021 08:50:03 -0700
|
|
Subject: [PATCH 232/500] net: fix potential memory leak
|
|
|
|
When A packets come from a disabled port, if it is not a accepted
|
|
EAPOL, it has no chance to get freed.
|
|
|
|
Change-Id: Ib2bddeb53f2117bcc803d11912471a8456a3148a
|
|
Signed-off-by: Ken Zhu <quic_guigenz@quicinc.com>
|
|
---
|
|
net/bridge/br_input.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/net/bridge/br_input.c
|
|
+++ b/net/bridge/br_input.c
|
|
@@ -461,7 +461,7 @@ forward:
|
|
return RX_HANDLER_PASS;
|
|
}
|
|
}
|
|
- break;
|
|
+ goto drop;
|
|
|
|
case BR_STATE_FORWARDING:
|
|
case BR_STATE_LEARNING:
|