Revert "macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()"
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:06:18 +0000 (22:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:06:18 +0000 (22:06 -0500)
commitde2aa4760b45262cf25eac6d4c0e461703b7b64b
tree2762ded4834e97fa397b9f34d09454ad7aacb925
parent42404c09151029689659818e2196ee2fd97142aa
Revert "macvtap: remove useless codes in macvtap_aio_read() and macvtap_recvmsg()"

This reverts commit 41e4af69a5984a3193ba3108fb4e067b0e34dc73.

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/macvtap.c