Displaying 11 results from an estimated 11 matches for "smb_len".
Did you mean:
skb_len
2016 Dec 25
1
System freeze if mount cifs share with option "hard", and samba server is not available
...mid=61459 state=4 result=0 bytes=49152
[ 3058.820531] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
[ 3058.820546] fs/cifs/cifssmb.c: cifs_async_readv: offset=116178944 bytes=16384
[ 3058.820547] fs/cifs/transport.c: For smb_command 46
[ 3058.820548] fs/cifs/transport.c: Sending smb: smb_len=59
[ 3058.820961] fs/cifs/connect.c: RFC1002 header 0x403c
[ 3058.820963] fs/cifs/cifssmb.c: cifs_readv_receive: mid=61460 offset=116178944 bytes=16384
[ 3058.820964] fs/cifs/cifssmb.c: cifs_readv_receive: total_read=63 data_offset=64
[ 3058.820965] fs/cifs/cifssmb.c: 0: iov_base=ffff880036267d40 i...
2019 Feb 14
3
32 seconds vs 72 minutes -- expected performance difference?
Saurabh Nanda <saurabhnanda at gmail.com> writes:
> I found something interesting in /proc/fs/cifs/Stats. Notice the
> "QueryDirectories > Failed" number. This keeps increasing as along as `ls
> -lR` is running.
That's interesting indeed. The verbose logs and network trace would tell
us more.
--
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97
2019 Feb 15
0
32 seconds vs 72 minutes -- expected performance difference?
...-4.15.0/fs/cifs/inode.c: Getting info on
\shared\debug.log
Feb 15 05:41:09 prod-backoffice kernel: [57077.495222]
/build/linux-Y38gIP/linux-4.15.0/fs/cifs/smb2pdu.c: create/open
Feb 15 05:41:09 prod-backoffice kernel: [57077.498168]
/build/linux-Y38gIP/linux-4.15.0/fs/cifs/transport.c: Sending smb:
smb_len=160
Feb 15 05:41:09 prod-backoffice kernel: [57077.503002]
/build/linux-Y38gIP/linux-4.15.0/fs/cifs/connect.c: RFC1002 header 0x98
Feb 15 05:41:09 prod-backoffice kernel: [57077.509849]
/build/linux-Y38gIP/linux-4.15.0/fs/cifs/smb2misc.c: smb2_check_message
length: 0x9c, smb_buf_length: 0x98
Feb 15...
2009 Nov 05
0
PnP driver Upload/download
...0010 alloc_hint: 0000050a
0014 context_id: 0000
0016 opnum : 0009
rpc_write_send: data_to_write: 669
cli_chain_cork: mid=23
cli_state_handler called with flags 2
cli_state_handler called with flags 3
cli_state_handler called with flags 1
cli_state_handler: received 51 bytes, smb_len(evt_inbuf) = 47
handle_incoming_pdu: got mid 23
000000 smb_io_rpc_hdr hdr
0000 major : 05
0001 minor : 00
0002 pkt_type : 00
0003 flags : 00
0004 pack_type0: 10
0005 pack_type1: 00
0006 pack_type2: 00
0007 pack_type3: 00
0008 frag_len : 0...
2003 Jul 12
0
smbmount and PCShare [Helios]
...MEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,72)
write_socket(3,72) wrote 72
Sent session request
got smb length of 0
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
Can't check signature on short packet! smb_len = 0
21514: session request ok
write_socket(3,183)
write_socket(3,183) wrote 183
got smb length of 94
size=94
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=21514
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]= 7 (0x7)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]= 256...
2008 Aug 19
11
[ANNOUNCE] Samba 3.2.2 Available for Download
..." key type to cifs.upcall.
o SATOH Fumiyasu <fumiyas@osstech.co.jp>
* BUG 5688: Fix orphaned LPQ processes if socket address is invalid.
o Volker Lendecke <vl@samba.org>
* BUG 5684: Fix removal of dead records in tdb files.
* Fix coverity IDs 595, 596.
* Fix smb_len calculation for chained requests.
o Herb Lewis <herb@samba.org>
* Fix output of test status.
o Jim McDonough <jmcd@samba.org>
* Fix smbclient connections to older servers.
o Andrew Tridgell <tridge@samba.org>
* Fix a fd leak when trying to regain contact to...
2008 Aug 19
11
[ANNOUNCE] Samba 3.2.2 Available for Download
..." key type to cifs.upcall.
o SATOH Fumiyasu <fumiyas@osstech.co.jp>
* BUG 5688: Fix orphaned LPQ processes if socket address is invalid.
o Volker Lendecke <vl@samba.org>
* BUG 5684: Fix removal of dead records in tdb files.
* Fix coverity IDs 595, 596.
* Fix smb_len calculation for chained requests.
o Herb Lewis <herb@samba.org>
* Fix output of test status.
o Jim McDonough <jmcd@samba.org>
* Fix smbclient connections to older servers.
o Andrew Tridgell <tridge@samba.org>
* Fix a fd leak when trying to regain contact to...
1998 Sep 04
0
Linux SMB Mount utils patch
...b_sb_info *);
+int smb_revalidate_inode(struct dentry *);
+int smb_notify_change(struct dentry *, struct iattr *);
+unsigned long smb_invent_inos(unsigned long);
+struct inode *smb_iget(struct super_block *, struct smb_fattr *);
+extern int init_smb_fs(void);
+
+/* linux/fs/smbfs/proc.c */
+__u32 smb_len(unsigned char *);
+__u8 *smb_encode_smb_length(__u8 *, __u32);
+__u8 *smb_setup_header(struct smb_sb_info *, __u8, __u16, __u16);
+int smb_get_rsize(struct smb_sb_info *);
+int smb_get_wsize(struct smb_sb_info *);
+int smb_newconn(struct smb_sb_info *, struct smb_conn_opt *);
+int smb_errno(struct...
2014 Jan 10
1
samba 4.1.3 -- multiple bugs & 1, 297 coredumps -- coredump backtrace + full-backtrace included
...b69c6040, inbuf=0x7f6cb69c5f60 "",
outbuf=outbuf at entry=0x7ffff37d3868, num_words=num_words at entry=10 '\n',
num_bytes=num_bytes at entry=4294966797) at ../source3/smbd/process.c:1286
msg = 0x7f6cb69b8d80 "num_bytes too large: 4294966797"
smb_len = 4294966852
#6 0x00007f6cb51cfab0 in reply_outbuf (req=req at entry=0x7f6cb69c6040,
num_words=num_words at entry=10 '\n', num_bytes=num_bytes at entry=4294966797)
at ../source3/smbd/process.c:1314
outbuf = 0x7f6cb55c2028 ""
#7 0x00007f6cb516a7ee in send_tr...
2003 May 22
0
net rpc samdump and vampire
...2 12:19:39, 6] lib/util_sock.c:write_socket(407)
write_socket(5,72)
[2003/05/22 12:19:39, 6] lib/util_sock.c:write_socket(410)
write_socket(5,72) wrote 72
[2003/05/22 12:19:39, 5] libsmb/cliconnect.c:cli_session_request(1033)
Sent session request
[2003/05/22 12:19:39, 10] lib/util_sock.c:read_smb_length_return_keepalive(463)
got smb length of 0
[2003/05/22 12:19:39, 5] lib/util.c:show_msg(456)
[2003/05/22 12:19:39, 5] lib/util.c:show_msg(466)
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_b...
2003 Dec 01
0
No subject
...smb/clientgen.c
--- samba-2.2.0/source/libsmb/clientgen.c Thu Dec 14 15:40:01 2000
+++ samba-2.2.0-drze/source/libsmb/clientgen.c Tue Jul 10 14:27:52 2001
@@ -72,26 +72,38 @@
size_t nwritten=0;
ssize_t ret;
BOOL reestablished=False;
+
char *outbuf = cli->outbuf;
+
size_t bufsize;
len = smb_len(cli->outbuf) + 4;
while (nwritten < len) {
-
ret = write_socket(cli->fd,cli->outbuf+nwritten,len - nwritten);
+
ret = write_socket(cli->fd,outbuf+nwritten,len - nwritten);
if (ret <= 0 && errno == EPIPE && !reestablished) {
+
bufsize = sizeof(char) * cli...