• J
    cifs: clean up check_rfc1002_header · fe11e4cc
    Jeff Layton 提交于
    Rename it for better clarity as to what it does and have the caller pass
    in just the single type byte. Turn the if statement into a switch and
    optimize it by placing the most common message type at the top. Move the
    header length check back into cifs_demultiplex_thread in preparation
    for adding a new receive phase and normalize the cFYI messages.
    Signed-off-by: NJeff Layton <jlayton@redhat.com>
    Signed-off-by: NSteve French <smfrench@gmail.com>
    fe11e4cc
connect.c 103.9 KB