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 <firstname.lastname@example.org>
Reviewed-by: Yotam Gigi <email@example.com>
Acked-by: Jamal Hadi Salim <firstname.lastname@example.org>
Signed-off-by: David S. Miller <email@example.com>