Messages in this thread | | | Date | Wed, 9 Jun 1999 18:44:21 +0200 | Subject | Re: kmalloc: Size (3149576632) too large | From | (Marco d'Itri) |
| |
On Jun 08, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>Giving a kmalloc error is untidy. It shoukld hae returned -EMSGSIZE regardless This is the output of strace:
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 connect(4, {sin_family=AF_INET, sin_port=htons(1025), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 getsockname(4, {sin_family=AF_INET, sin_port=htons(1024), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 close(4) = 0 bind(3, {sin_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 setsockopt(3, IPPROTO_RAW1, [-6202], 4) = 0 brk(0x8070000) = 0x8070000 getpid() = 1715 setsockopt(3, SOL_SOCKET, SO_RCVBUF, [49152], 4) = 0 setsockopt(3, SOL_SOCKET, SO_BROADCAST, [0], 4) = 0 fstat(1, {st_mode=S_IFIFO|0600, st_size=2424, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000c000 sigaction(SIGINT, {0x804b070, [], SA_INTERRUPT}, NULL) = 0 sigaction(SIGALRM, {0x804a270, [], SA_INTERRUPT}, NULL) = 0 gettimeofday({928946588, 760027}, NULL) = 0 gettimeofday({928946588, 760245}, NULL) = 0 socketcall(0x10, 0xbffff924) = -1 ENOBUFS (No buffer space available)
Here kmalloc cries.
-- ciao, Marco
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |