commit | d57493d6d1be26c8ac8516a4463bfe24956978eb | [log] [tgz] |
---|---|---|
author | Alexander Aring <aring@mojatatu.com> | Fri Apr 20 15:15:05 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 22 21:12:00 2018 -0400 |
tree | 5386270f315c29fb679d6247f53eae936656fbd4 | |
parent | cc74eddd0ff325d57373cea99f642b787d7f76f5 [diff] |
net: sched: ife: check on metadata length This patch checks if sk buffer is available to dererence ife header. If not then NULL will returned to signal an malformed ife packet. This avoids to crashing the kernel from outside. 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>