Displaying 12 results from an estimated 12 matches for "sock_close".
2004 Aug 06
0
Submission: Patch to libshout/sock.c for MacOSX
...#ifdef _WIN32
int varblock = block;
#endif
if ((!sock_valid_socket(sockfd)) || (block < 0) || (block > 1))
return SOCKET_ERROR;
#ifdef _WIN32
return ioctlsocket(sockfd, FIONBIO, &varblock);
#else
return fcntl(sockfd, F_SETFL, (block == SOCK_BLOCK) ? 0 : O_NONBLOCK);
#endif
}
int sock_close(SOCKET sockfd)
{
#ifdef _WIN32
return closesocket(sockfd);
#else
return close(sockfd);
#endif
}
/*
* Write len bytes from buf to the socket.
*/
int sock_write_bytes(SOCKET sockfd, const char *buff, const int len)
{
int wrote, res, polled;
// struct pollfd socks; // <SKoT>...
2006 Nov 23
1
BUG: warning at kernel/softirq.c:141
...cache
EIP: 0060:[<f0872d73>] Not tainted VLI
EFLAGS: 00210246 (2.6.17-2-k7 #1)
BUG: warning at kernel/softirq.c:141/local_bh_enable()
<b0120e27> local_bh_enable+0x25/0x64 <b0218215> lock_sock+0x85/0x8d
<b021604b> sock_fasync+0x5c/0x111 <b0216fa1> sock_close+0x1e/0x2a
<b0153fcd> __fput+0x87/0x13c <b0151b57> filp_close+0x4e/0x54
<b011e0a1> put_files_struct+0x64/0xa6 <b011f006> do_exit+0x1b0/0x6be
<b0114e08> bust_spinlocks+0x3a/0x43 <b0103ee6> die+0x1d3/0x288
<b0103f76> die+0x263/0x288 <b011533...
2011 Mar 10
8
Kernel panic with 2.6.32-30 under network activity
...a00e>] ? __tcp_push_pending_frames+0x22/0x53
[469390.127059] [<ffffffff8127d409>] ? tcp_close+0x176/0x3d0
[469390.127069] [<ffffffff81299f0c>] ? inet_release+0x4e/0x54
[469390.127079] [<ffffffff812410d1>] ? sock_release+0x19/0x66
[469390.127087] [<ffffffff81241140>] ? sock_close+0x22/0x26
[469390.127097] [<ffffffff810ef879>] ? __fput+0x100/0x1af
[469390.127106] [<ffffffff810eccb6>] ? filp_close+0x5b/0x62
[469390.127116] [<ffffffff8104f878>] ? put_files_struct+0x64/0xc1
[469390.127127] [<ffffffff812fbb02>] ? _spin_lock_irq+0x7/0x22
[469390.127135...
2011 Mar 10
8
Kernel panic with 2.6.32-30 under network activity
...a00e>] ? __tcp_push_pending_frames+0x22/0x53
[469390.127059] [<ffffffff8127d409>] ? tcp_close+0x176/0x3d0
[469390.127069] [<ffffffff81299f0c>] ? inet_release+0x4e/0x54
[469390.127079] [<ffffffff812410d1>] ? sock_release+0x19/0x66
[469390.127087] [<ffffffff81241140>] ? sock_close+0x22/0x26
[469390.127097] [<ffffffff810ef879>] ? __fput+0x100/0x1af
[469390.127106] [<ffffffff810eccb6>] ? filp_close+0x5b/0x62
[469390.127116] [<ffffffff8104f878>] ? put_files_struct+0x64/0xc1
[469390.127127] [<ffffffff812fbb02>] ? _spin_lock_irq+0x7/0x22
[469390.127135...
2004 Aug 06
2
my icecast problem
...:16] Kicking client 14 [192.168.1.21] [Too many
errors (client not receiving data fast enough)] [listener], connected for
20 minutes and 29 seconds, 19394260 bytes transfered. 0 clients connected
->[28/Feb/2001:12:43:16] DEBUG: Removing connection 14 of type 0
-> [28/Feb/2001:12:43:16] DEBUG: sock_close: Closing socket 12
-> [28/Feb/2001:12:43:16] DEBUG: Closing fd 12
Client kicked.
Can I do something more to investigate this further ?
Thomas
<-*- -*->
I can't go away with you on a rock climbing weekend
What if something's on TV and it's never shown ag...
2019 Sep 30
0
[PATCH net v2] vsock: Fix a lockdep warning in __vsock_release()
...rtio_transport_release+0x34/0x330 [vmw_vsock_virtio_transport_common]
? mark_held_locks+0x49/0x70
? _raw_spin_unlock_irqrestore+0x44/0x60
__vsock_release+0x2d/0x130 [vsock]
__vsock_release+0xb9/0x130 [vsock]
vsock_release+0x12/0x30 [vsock]
__sock_release+0x3d/0xb0
sock_close+0x14/0x20
__fput+0xc1/0x250
task_work_run+0x93/0xb0
exit_to_usermode_loop+0xd3/0xe0
syscall_return_slowpath+0x205/0x310
entry_SYSCALL_64_after_hwframe+0x49/0xbe
Feel free to add:
Tested-by: Stefano Garzarella <sgarzare at redhat.com>
2001 Jun 25
1
Oops in iput
...184f4>] [<c011847d>] [<c0109fbb>] [<c01111b1>]
[<c0109583>] [<c010a100>]
Code: 8b 46 68 85 c0 74 09 8b 40 18 85 c0 74 02 89 c3 85 db 74 10
>>EIP; c0133ca7 <iput+13/228> <=====
Trace; c015882f <sock_release+57/60>
Trace; c0158be3 <sock_close+3f/4c>
Trace; c011b26c <clear_page_tables+ac/b4>
Trace; c01262bd <__fput+25/54>
Trace; c011d2b5 <exit_mmap+115/120>
Trace; c012745c <fput+20/54>
Trace; c0127453 <fput+17/54>
Trace; c01139bb <mmput+3f/48>
Trace; c012634b <filp_close+5f/6c>
Trace; c011073e...
2019 Oct 01
0
[PATCH net v3] vsock: Fix a lockdep warning in __vsock_release()
...90
> __lock_acquire.cold.67+0xd2/0x20b
> lock_acquire+0xb5/0x1c0
> lock_sock_nested+0x6d/0x90
> hvs_release+0x10/0x120 [hv_sock]
> __vsock_release+0x24/0xf0 [vsock]
> __vsock_release+0xa0/0xf0 [vsock]
> vsock_release+0x12/0x30 [vsock]
> __sock_release+0x37/0xa0
> sock_close+0x14/0x20
> __fput+0xc1/0x250
> task_work_run+0x98/0xc0
> do_exit+0x344/0xc60
> do_group_exit+0x47/0xb0
> get_signal+0x15c/0xc50
> do_signal+0x30/0x720
> exit_to_usermode_loop+0x50/0xa0
> do_syscall_64+0x24e/0x270
> entry_SYSCALL_64_after_hwframe+0x49/0xbe
> R...
2004 Aug 06
0
my icecast problem
...14 [192.168.1.21] [Too many
> errors (client not receiving data fast enough)] [listener], connected for
> 20 minutes and 29 seconds, 19394260 bytes transfered. 0 clients connected
> ->[28/Feb/2001:12:43:16] DEBUG: Removing connection 14 of type 0
> -> [28/Feb/2001:12:43:16] DEBUG: sock_close: Closing socket 12
> -> [28/Feb/2001:12:43:16] DEBUG: Closing fd 12
>
> Client kicked.
>
> Can I do something more to investigate this further ?
>
> Thomas
>
> <-*- -*->
> I can't go away with you on a rock climbing weekend
> What i...
2019 Sep 26
0
[PATCH net v2] vsock: Fix a lockdep warning in __vsock_release()
...90
> __lock_acquire.cold.67+0xd2/0x20b
> lock_acquire+0xb5/0x1c0
> lock_sock_nested+0x6d/0x90
> hvs_release+0x10/0x120 [hv_sock]
> __vsock_release+0x24/0xf0 [vsock]
> __vsock_release+0xa0/0xf0 [vsock]
> vsock_release+0x12/0x30 [vsock]
> __sock_release+0x37/0xa0
> sock_close+0x14/0x20
> __fput+0xc1/0x250
> task_work_run+0x98/0xc0
> do_exit+0x344/0xc60
> do_group_exit+0x47/0xb0
> get_signal+0x15c/0xc50
> do_signal+0x30/0x720
> exit_to_usermode_loop+0x50/0xa0
> do_syscall_64+0x24e/0x270
> entry_SYSCALL_64_after_hwframe+0x49/0xbe
> R...
2001 Mar 01
0
some more log info for my problem
...[192.168.1.21]
[Too many errors (client not receiving data fast enough)] [listener],
connected for 21 minutes and 6 seconds, 20000221 bytes transfered. 0
clients connected
[01/Mar/2001:11:58:04] [5:Source Thread] DEBUG: Removing connection 2 of
type 0
[01/Mar/2001:11:58:04] [5:Source Thread] DEBUG: sock_close: Closing socket
11
[01/Mar/2001:11:58:04] [5:Source Thread] DEBUG: Closing fd 11
[01/Mar/2001:11:58:04] [5:Source Thread] DEBUG: Removing client 2
(0x8092900) from sourcetree of (0x4017f008)
And then a whole lot of cid's (are these chunk id's ???) are cleared.
[01/Mar/2001:11:58:04] [5:So...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello,
I work at SmarctJog.com, we have here some patches on IceCast for
performance and reliability, these are mostly client/connection/source
cleanups (a slave merge is underway, and some more good stuff (c)),
but we'd like this to be merged in before the list gets any longer.
Please find attached a list of our patches with a short desc:
This one is actually not from us/me, it was found