diff options
author | 2011-01-11 07:24:24 -0500 | |
---|---|---|
committer | 2011-01-20 18:08:36 +0000 | |
commit | 76dcc26f1d7f1c98c3f595379dcd9562f01bf38d (patch) | |
tree | 98ff38d579542700ef79dd2e0b0f331524e7c1a6 /net/unix/af_unix.c | |
parent | cifs: remove code for setting timeouts on requests (diff) | |
download | wireguard-linux-76dcc26f1d7f1c98c3f595379dcd9562f01bf38d.tar.xz wireguard-linux-76dcc26f1d7f1c98c3f595379dcd9562f01bf38d.zip |
cifs: mangle existing header for SMB_COM_NT_CANCEL
The NT_CANCEL command looks just like the original command, except for a
few small differences. The send_nt_cancel function however currently takes
a tcon, which we don't have in SendReceive and SendReceive2.
Instead of "respinning" the entire header for an NT_CANCEL, just mangle
the existing header by replacing just the fields we need. This means we
don't need a tcon and allows us to call it from other places.
Reviewed-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions