commit | 3b1a914595f3f9beb9e38ff3ddc7bdafa092ba22 | [log] [tgz] |
---|---|---|
author | Krzysztof Mazur <krzysiek@podlesie.net> | Tue Nov 06 23:16:58 2012 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Wed Nov 28 00:37:02 2012 +0000 |
tree | 03acc4ae1063017d6986d149cd4ffe5140f3e63c | |
parent | ec809bd817dfa1905283468e4c813684ed4efe78 [diff] |
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 <krzysiek@podlesie.net> Cc: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>