Skip to content
Commit 8fcb0382 authored by Hangyu Hua's avatar Hangyu Hua Committed by David S. Miller
Browse files

net: sched: em_text: fix possible memory leak in em_text_destroy()



m->data needs to be freed when em_text_destroy is called.

Fixes: d675c989 ("[PKT_SCHED]: Packet classification based on textsearch (ematch)")
Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarHangyu Hua <hbh25y@gmail.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dcea1bd4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment