commit | 56cff471d0c62b721a298f806e7637501debb513 | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Fri Aug 19 13:36:23 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 19 17:55:43 2016 -0700 |
tree | ac12d0a62c9fa0c9e0647caff49529b3abff0906 | |
parent | 4c2f2454964477c66ef57745daab203b71783f66 [diff] |
l2tp: Fix the connect status check in pppol2tp_getname The sk->sk_state is bits flag, so need use bit operation check instead of value check. Signed-off-by: Gao Feng <fgao@ikuai8.com> Tested-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>