• Neil Brown's avatar
    [PATCH] Rearrange setting of snd/rcv buf size to avoid locking issue · 3060e011
    Neil Brown authored
    Currently svc_sock_setbuf can be called under a spinlock,
    but it can try to lock a socket, which can block....
    
    Now when we decide that changing the size might be good we
    set a flag (SK_CHNGBUF) and then later (when the next
    packet arrives) we change the sizes appropriately.
    3060e011
svcsock.c 31.7 KB