bpf: skmsg, replace comments with BUILD bug
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 20 Dec 2018 19:35:31 +0000 (11:35 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 20 Dec 2018 22:47:09 +0000 (23:47 +0100)
commit7a69c0f250568e6ab72f401b2c69aa0e666c94f2
tree8f3fb3338a0cb3d296dc33f49d821b64e8ae12be
parentbc1b4f013b5029b4c8b63fb9ba8d084119486d7b
bpf: skmsg, replace comments with BUILD bug

Enforce comment on structure layout dependency with a BUILD_BUG_ON
to ensure the condition is maintained.

Suggested-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/linux/skmsg.h
net/core/filter.c