mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 12:52:37 -05:00
o2net: log socket state changes
This patch logs socket state changes that lead to socket shutdown. Signed-off-by: Srinivas Eeda <[email protected]> Signed-off-by: Joel Becker <[email protected]>
This commit is contained in:
parent
a5196ec5ef
commit
23fd9abdc8
1 changed files with 3 additions and 0 deletions
|
|
@ -583,6 +583,9 @@ static void o2net_state_change(struct sock *sk)
|
|||
o2net_sc_queue_work(sc, &sc->sc_connect_work);
|
||||
break;
|
||||
default:
|
||||
printk(KERN_INFO "o2net: connection to " SC_NODEF_FMT
|
||||
" shutdown, state %d\n",
|
||||
SC_NODEF_ARGS(sc), sk->sk_state);
|
||||
o2net_sc_queue_work(sc, &sc->sc_shutdown_work);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue