mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
net: sched: em_text: fix possible memory leak in em_text_destroy()
[ Upstream commit8fcb0382af] m->data needs to be freed when em_text_destroy is called. Fixes:d675c989ed("[PKT_SCHED]: Packet classification based on textsearch (ematch)") Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ac5cbe931c
commit
565460e180
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue