commit | cc74eddd0ff325d57373cea99f642b787d7f76f5 | [log] [tgz] |
---|---|---|
author | Alexander Aring <aring@mojatatu.com> | Fri Apr 20 15:15:04 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 22 21:12:00 2018 -0400 |
tree | fc8048a8254e5d249763543e20355a0bba0324f1 | |
parent | f6cd14537ff9919081be19b9c53b9b19c0d3ea97 [diff] |
net: sched: ife: handle malformed tlv length There is currently no handling to check on a invalid tlv length. This patch adds such handling to avoid killing the kernel with a malformed ife packet. Signed-off-by: Alexander Aring <aring@mojatatu.com> Reviewed-by: Yotam Gigi <yotam.gi@gmail.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>