[TUN]: Use iov_length()
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 20 Nov 2007 06:46:51 +0000 (22:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:34 +0000 (14:54 -0800)
commit52427c9d11477d5a2633d81050f52523decf9eff
treee4107505fb7f7041344e0ec77a9ac714383f9b4a
parent02d45827fa211093202f96bdd58020cc8687929f
[TUN]: Use iov_length()

Use iov_length() instead of tun's homemade iov_total().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c