bpf: allow wide aligned loads for bpf_sock_addr user_ip6 and msg_src_ip6
authorStanislav Fomichev <sdf@google.com>
Mon, 15 Jul 2019 16:39:53 +0000 (09:39 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 15 Jul 2019 21:15:53 +0000 (23:15 +0200)
commitd4ecfeb15494ec261fef2d25d96eecba66f0b182
tree88d1e6879448ca54b57b7ad17dfa3dc0753d0c3f
parentb43995469e5804636a55372e9bbb17ccb22441c5
bpf: allow wide aligned loads for bpf_sock_addr user_ip6 and msg_src_ip6

Add explicit check for u64 loads of user_ip6 and msg_src_ip6 and
update the comment.

Cc: Yonghong Song <yhs@fb.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/uapi/linux/bpf.h
net/core/filter.c