Revert "tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()"
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:05:45 +0000 (22:05 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:05:45 +0000 (22:05 -0500)
commit42404c09151029689659818e2196ee2fd97142aa
tree5257075d89de7df00796fd720724b219ff3f25bc
parent8e3bff96afa67369008153f3326fa5ce985cabab
Revert "tun: remove useless codes in tun_chr_aio_read() and tun_recvmsg()"

This reverts commit 73713357ab58aacda1af715bb5a623528dbbfd79.

MSG_TRUNC handling was broken and is going to be fixed in
the 'net' tree, so revert this.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c