kernel: fix dst reference leak in flow offload
authorFelix Fietkau <nbd@nbd.name>
Thu, 23 Jan 2020 16:40:06 +0000 (17:40 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 28 Jan 2020 15:39:02 +0000 (16:39 +0100)
commit8ab2b42fac4fcbb4a294f3405aa15daeb706a9bd
tree3e325d797df2090a0d443fab33d4c22875959e13
parent47935940d67147e3ec8dbfcb56ae14f1235369c5
kernel: fix dst reference leak in flow offload

Fixes a significant amount of leaked memory with lots of connections

Ref: PR#2721
Tested-by: Jerome Benoit <jerome.benoit@sap.com> [WRT1900AC v1]
Signed-off-by: Felix Fietkau <nbd@nbd.name>
[removed 4.19 patch during cherry-pick]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit c6c4701def07cd01a1b077cee93f64a9b2e3b5be)
target/linux/generic/hack-4.14/650-netfilter-add-xt_OFFLOAD-target.patch