On 2015-10-13 01:32, White Knight wrote: > On 2015-10-10 02:47, Adrian Chadd wrote: >> I think it's worth upping to an int type, so we can eventually up it >> to > 64k. >> >> Please do submit diffs for revie.w :) > > I'll work on the patch this week, thank you. I have submitted a bug report, with a patch for review, at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203922 I chose the arbitrary limit of 1431655765 in order to prevent an overflow (on systems where u_int is 32bit). I'm somewhat unsure if my changes to struct xsctp_inpcb are ok. Is it better to use the reserved fields? And if I don't, like in my patch, is it better to shorten the reserved fields accordingly? I decided not to touch other parts of the netstat formatted output, mostly to keep the patch short and to the point. Please comment and let me know what else needs to be changed. Are there other userland programs that touch the xsocket and xsctp_inpcb interfaces than netstat? -- White Knight I'm not from 2ch.net, I just work there.Received on Wed Oct 21 2015 - 10:07:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:00 UTC