]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit057071ffff192c28d37055d514ef0a3c5cce8e66
tree21231979479b0e2e0c7b4666f709bd657a89849a
parent65121bf872ac6736b81085dbc6c3d4b728ed074f
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