Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pppoatm: allow assign only on a connected socket
The pppoatm does not check if used vcc is in connected state, causing an Oops in pppoatm_send() when vcc->send() is called on not fully connected socket. Now pppoatm can be assigned only on connected sockets; otherwise -EINVAL error is returned. Signed-off-by: Krzysztof Mazur <[email protected]> Cc: Chas Williams - CONTRACTOR <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
- Loading branch information