• Arnaldo Carvalho de Melo's avatar
    [LLC] llc_ui_wait_for_data and socket locking fixes · a3571512
    Arnaldo Carvalho de Melo authored
    . now llc_ui_accept uses llc_ui_wait_for_data (llc_ui_recvmsg probably
      will use it too, we'll see)
    . all the llc_ui_wait_for_ now receive the timeout in jiffies, not
      in seconds
    . use sk_rcvtimeo()
    . release_sock before going to sleep in the llc_ui_wait_for functions
    . llc_ui_release has to get the socket lock
    a3571512
llc_sock.c 45.6 KB