Thread (20 messages) 20 messages, 4 authors, 2019-09-13

RE: [PATCH net-next 5/5] sctp: add spt_pathcpthld in struct sctp_paddrthlds

From: David Laight <hidden>
Date: 2019-09-13 08:36:28
Also in: linux-sctp

From: Marcelo Ricardo Leitner
Sent: 12 September 2019 23:52
...
Here it is more visible. If net->...ps_retrans is disabled, remaining
fields (currently just this one, but as we are extending it now, we
have to think about the possibility of more as well) will be ignored,
we and we may not want that.
The only real way to add additional fields is to change the name
of the structure - that way recompiled programs still work.

You could require that programs zero the entire structure - but
that is difficult to verify.
And, in this case, it seems that the default has to be 0xffff
rather than 0 - which is, in itself, horrid.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help