aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/filter.txt
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@plumgrid.com>2014-07-30 20:34:12 -0700
committerDavid S. Miller <davem@davemloft.net>2014-08-02 15:02:37 -0700
commit278571baca2aecf5fb5cb5c8b002dbfa0a6c524c (patch)
tree51ff4143d22b2e550308681c938afc7c9c10dcdc /Documentation/networking/filter.txt
parentnet: use inet6_iif instead of IP6CB()->iif (diff)
downloadlinux-dev-278571baca2aecf5fb5cb5c8b002dbfa0a6c524c.tar.xz
linux-dev-278571baca2aecf5fb5cb5c8b002dbfa0a6c524c.zip
net: filter: simplify socket charging
attaching bpf program to a socket involves multiple socket memory arithmetic, since size of 'sk_filter' is changing when classic BPF is converted to eBPF. Also common path of program creation has to deal with two ways of freeing the memory. Simplify the code by delaying socket charging until program is ready and its size is known Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/filter.txt')
0 files changed, 0 insertions, 0 deletions