summaryrefslogtreecommitdiff
path: root/bpf.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-19 18:09:08 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-19 18:09:08 +0100
commit540ae1ee3b2456355fc9c36410667e1b5019e314 (patch)
tree402eca4b3d2fadd88c6a7bcbb97ef3706fe345fe /bpf.c
parentceae98914962e4375a98db2622b65ecf44b0232a (diff)
ring: first unmap, then destroy ring buffer
In both, the RX_RING and TX_RING we need to unmap first and then destroy the buffer, otherwise, we get a device or resource busy. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'bpf.c')
0 files changed, 0 insertions, 0 deletions