diff --git a/net/core/filter.c b/net/core/filter.c index 9dad3e7e2e101819248c31317c6ca772586317e3..f9add024d92fcec8fb6dacce0a2251336204158b 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -3468,9 +3468,7 @@ static bool sock_filter_is_valid_access(int off, int size, if (type == BPF_WRITE) { switch (off) { case offsetof(struct bpf_sock, bound_dev_if): - break; case offsetof(struct bpf_sock, mark): - break; case offsetof(struct bpf_sock, priority): break; default: