I'm in the process of enhancing a TIPC DGRAM-based RPC-ish service to 
include TIPC STREAM transport for larger messages. To simplify configuration, I 
have the server process(es) bind() the same type/range for both DGRAM and 
STREAM sockets (poll()ing to see which have incoming requests), then choose 
which to use on the client. This seems to work on most of my Linux systems 
(RHEL-8, Ubuntu 20.04/21.04, Fedora 34, Debian 11), but on my Debian 10 system 
(4.19.181-1 kernel) I am seeing messages from a DGRAM client appearing on an 
accept()ed STREAM socket on the server. I have confirmed that the client is not 
sending anything on a STREAM socket, and the message received by the server is 
formatted as a DGRAM message (without the message framing header).

   Debian isn't a target platform for production, so I don't need a specific 
fix, but it is still surprising and a bit disturbing. Was this a known problem 
with the 4.19 kernel? Are there particular reasons why using this pattern is a 
bad idea?

   Thanks.

Gary Duzan
FIS - GT.M Core

The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.

_______________________________________________
tipc-discussion mailing list
tipc-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tipc-discussion

Reply via email to