[lkml]   [2018]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectdevinet.c inet_abc_len() breaking ifconfig?
Dave Taht pointed out to me that this doesn't work in toybox:

$ ifconfig eth0 netmask broadcast
ifconfig: ioctl 8916: Invalid argument

Because of this in the kernel:

What is the inet_abc_len() function _for_? When's the last time "class A, Class
B, and Class C" IPv4 addresses actually _existed_ as a thing? (Somewhere around

He suggested I switch to the netlink API, which doesn't enforce this, but... why
is the kernel enforcing it for one api but not the other?


 \ /
  Last update: 2018-10-15 16:43    [W:0.052 / U:1.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site