1. NAME

lock_sock_fast - fast version of lock_sock

2. SYNOPSIS

bool lock_sock_fast(struct sock *  sk );

3. ARGUMENTS

sk
    socket

4. DESCRIPTION

This version should be used for very small section, where process wont block return false if fast path is taken sk_lock.slock locked, owned = 0, BH disabled return true if slow path is taken sk_lock.slock unlocked, owned = 1, BH enabled

5. COPYRIGHT