summaryrefslogtreecommitdiff
path: root/mm/debug.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2015-08-15 05:31:34 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-18 00:22:47 +0300
commit47dceb8ecdc1c3ad1818dfea3d659a05b74c3fc2 (patch)
tree6329539935535b2b5ed438612464e168b02f03ce /mm/debug.c
parenta1c234f95cae2d293047bb6c36e7a4840dbac815 (diff)
downloadlinux-47dceb8ecdc1c3ad1818dfea3d659a05b74c3fc2.tar.xz
packet: add classic BPF fanout mode
Add fanout mode PACKET_FANOUT_CBPF that accepts a classic BPF program to select a socket. This avoids having to keep adding special case fanout modes. One example use case is application layer load balancing. The QUIC protocol, for instance, encodes a connection ID in UDP payload. Also add socket option SOL_PACKET/PACKET_FANOUT_DATA that updates data associated with the socket group. Fanout mode PACKET_FANOUT_CBPF is the only user so far. Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions