[PATCH][v3.19.y] tun: return proper error code from tun_do_read

From: Joseph Salisbury
Date: Tue Apr 28 2015 - 16:27:47 EST


Please consider including mainline commit
957f094f221f81e457133b1f4c4d95ffa49ff731 in the next v3.19.y release.
It was included in the mainline tree as of v4.0-rc1. It has been tested
and confirmed to resolve:
And upstream bug report:

The bug was introduce in v3.19-rc1 by commit 9b067034d0, so it is not
needed in any other stable kernels.

commit 957f094f221f81e457133b1f4c4d95ffa49ff731
Author: Alex Gartrell <agartrell@xxxxxx>
Date: Thu Dec 25 23:22:49 2014 -0800

tun: return proper error code from tun_do_read


Joseph Salisbury

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/