filter: Allow to create sk-unattached filters
authorJiri Pirko <jpirko@redhat.com>
Sat, 31 Mar 2012 11:01:19 +0000 (11:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Apr 2012 22:36:20 +0000 (18:36 -0400)
commit302d663740cfaf2c364df6bb61cd339014ed714c
tree85e3ea387a72e08b91b325850af062f430ce1260
parentfca231b2771cfd4e4f89445cf5c8dd81409b5b3c
filter: Allow to create sk-unattached filters

Today, BPF filters are bind to sockets. Since BPF machine becomes handy
for other purposes, this patch allows to create unattached filter.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h
net/core/filter.c