diff options
| author | Lorenz Bauer <[email protected]> | 2020-06-11 17:25:20 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-12 22:13:43 +0000 |
| commit | f6fede8569689dd31e7b0ed15024b25e5ce2e2e5 (patch) | |
| tree | 05dd70a403a2cb4187a111008b6050126fda0acb /drivers/pci/controller/pci-host-common.c | |
| parent | bpf: tcp: Recv() should return 0 when the peer socket is closed (diff) | |
| download | kernel-f6fede8569689dd31e7b0ed15024b25e5ce2e2e5.tar.gz kernel-f6fede8569689dd31e7b0ed15024b25e5ce2e2e5.zip | |
bpf: sockmap: Don't attach programs to UDP sockets
The stream parser infrastructure isn't set up to deal with UDP
sockets, so we mustn't try to attach programs to them.
I remember making this change at some point, but I must have lost
it while rebasing or something similar.
Fixes: 7b98cd42b049 ("bpf: sockmap: Add UDP support")
Signed-off-by: Lorenz Bauer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Jakub Sitnicki <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
