]> git.baikalelectronics.ru Git - kernel.git/commit
tun: Get skfilter layout
authorPavel Emelyanov <xemul@parallels.com>
Wed, 21 Aug 2013 10:32:39 +0000 (14:32 +0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 19:21:45 +0000 (12:21 -0700)
commitf5e930eeb07e5e9e6da663c489c602a06cb5b536
treec17c80f50fc5fa83b350e28ca04630ad738d0213
parentccd5e0b013cffceea4fe57ad34fb827c224ac0d9
tun: Get skfilter layout

The only thing we may have from tun device is the fprog, whic contains
the number of filter elements and a pointer to (user-space) memory
where the elements are. The program itself may not be available if the
device is persistent and detached.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
include/uapi/linux/if_tun.h