linux-sg2042/net/ife
Alexander Aring d57493d6d1 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>
2018-04-22 21:12:00 -04:00
..
Kconfig net: Introduce ife encapsulation module 2017-02-03 15:16:45 -05:00
Makefile net: Introduce ife encapsulation module 2017-02-03 15:16:45 -05:00
ife.c net: sched: ife: check on metadata length 2018-04-22 21:12:00 -04:00