summaryrefslogtreecommitdiff
path: root/kernel/bpf/offload.c
diff options
context:
space:
mode:
authorAlexander Aring <aring@mojatatu.com>2018-04-20 22:15:05 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-23 04:12:00 +0300
commitd57493d6d1be26c8ac8516a4463bfe24956978eb (patch)
tree5386270f315c29fb679d6247f53eae936656fbd4 /kernel/bpf/offload.c
parentcc74eddd0ff325d57373cea99f642b787d7f76f5 (diff)
downloadlinux-d57493d6d1be26c8ac8516a4463bfe24956978eb.tar.xz
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>
Diffstat (limited to 'kernel/bpf/offload.c')
0 files changed, 0 insertions, 0 deletions