tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IPv4: __vax__



Hm, no idea.  Maybe it was that mbufs could end up with zero len here (looking at the original code)?

Should be OK to remove it now.

Den 2018-04-21 kl. 12:05, skrev Maxime Villard:
A bizarre ifndef I noticed some time ago in IPv4:

[sys/netinet/ip_output.c]
1580 #ifndef    __vax__
1581     if (cnt % sizeof(int32_t))
1582         return EINVAL;
1583 #endif

I don't understand why vax shouldn't have this check. The code dates back to
rev1, 25 years ago. I think we can keep the check but remove the ifndef.



Home | Main Index | Thread Index | Old Index