• Linus Torvalds's avatar
    Fix bogus opost buffer size check · e6d7bb28
    Linus Torvalds authored
    Noted while going through the n_tty code: that buffer check
    used to check against the size of the temporary kernel buffer,
    but since the tty layer was changed to use kernel buffers
    though-out, the kernel buffer array became just a pointer, and
    the check was limiting the opost blocksize to the size of a
    pointer, which makes no sense.
    
    Just remove it, since now the whole buffer is always in kernel
    space.
    e6d7bb28
n_tty.c 38.2 KB