[OpenAFS-devel] MTU probing in src/rx/SOLARIS/rx_knet.c

Dale Ghent daleg@umbc.edu
Fri, 7 Sep 2007 11:24:44 -0400


This is related to getting the Solaris client working on s10u4...

One of the places where we're using the Solaris Private macro  
ILL_START_WALK_ALL [1] is in the rx_knet.c for Solaris. I see that  
it's used to find the MTU for the interface a packet was received on.  
It looks like it's called for every packet received (!)

I looked at rx_knet.c in the other OS-specific dirs and there's no  
twiddling of the UDP packet size based on the MTU being done in  
those. So I'm wondering... there seems to be a Solaris-specific  
purpose around diddling with the MTU. Is this a work-around due to  
some unique way Solaris handles UDP frags or something? Could, er, it  
be done away with?

[1] ILL_START_WALK_ALL changed with s10u4, where an additional arg  
was added to it. It's called in src/afs/afs_server.c and src/rx/ 
SOLARIS/rx_knet.c

/dale