Re: [2.1.41] kernel: a.out: Exception at ...

David S. Miller (
Mon, 9 Jun 1997 22:15:24 -0400

Date: Mon, 2 Jun 1997 02:15:05 +0200 (CEST)
From: Regis Duchesne <>

The small piece of code (at the end of this mail) triggers a reproducible
exception :

Celine kernel: a.out: Exception at [<c015c1de>] (c017c5cb)

Where my shows :

c015c1a8 T devinet_ioctl <-- in net/ipv4/devinet.c
c015c5e4 T destroy_sock

This is probably because the 3rd argument of ioctl() is NULL instead of
being a struct ifreq * (according to man ioctl_list). Neithertheless,
shouldn't this be checked instead of letting it cause an exception?
Is it normal?

Note that the ioctl rightly returns -1 with errno="Bad address" though.

This behavior is completely correct, the kernel message is just for
debugging (showing that the bad address was caught and the situation
has been corrected) which is why you get the right return value back.

There is no bug.

Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, /_____________/ / // /_/ ><