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)
commit76975e9cb4a7c6fe39478a3dc4dd292a5c6c8c74
treec17c80f50fc5fa83b350e28ca04630ad738d0213
parent849c9b6f93cc4cb5eb59301b6380a7a81b43f414
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