tun: Fix copy/paste error in tun_get_user
authorSridhar Samudrala <sri@us.ibm.com>
Mon, 8 Jun 2009 07:27:28 +0000 (00:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jun 2009 07:27:28 +0000 (00:27 -0700)
commit6f536f403979d37021508c5804509a379d853788
treed64d26d4e2c2c0bd2a487d9c5db77a4fe8b40969
parent2faef52b72958b8b1c08e927b9b0691c314cf6f4
tun: Fix copy/paste error in tun_get_user

Use the right structure while incrementing the offset in tun_get_user.

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