tun: reuse struct sock fields
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Aug 2009 07:04:42 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 00:40:33 +0000 (17:40 -0700)
commit89f56d1e91cfa535ccc6cc60e9e12e02682fd972
tree21231979479b0e2e0c7b4666f709bd657a89849a
parent86393e52c3f1e2f6be18383f6ecdbcdc5727d545
tun: reuse struct sock fields

As tun always has an embeedded struct sock,
use sk and sk_receive_queue fields instead of
duplicating them in tun_struct.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c