ring_rx: if v3, free it in kernel space during close
commitcfdc25dbcd0e17de870aebf222b2fdbc7789312a
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 31 May 2013 13:13:20 +0000 (31 15:13 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Fri, 31 May 2013 13:13:20 +0000 (31 15:13 +0200)
tree8a0fd4cdafb829fd5c7be9559116aa667d409a4d
parentd8cdc6ab87550de9c93b1f6763ea6015f292d7fb
ring_rx: if v3, free it in kernel space during close

Let this be freed by the kernel during close(2) call in case of v3
otherwise we would get a -EINVAL.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
ring_rx.c