[ofa-general] Re: [PATCH] IB/IPoIB: Fix change mtu when switching to UD mode

Roland Dreier rdreier at cisco.com
Mon Jun 30 20:12:46 PDT 2008


 > When changing from CM mode to UD mode, use the kernel function
 > dev_set_mtu() instead of directly setting dev->mtu. This is necessary
 > so any other subsystem that need to know about this will (this is done
 > through the call to call_netdevice_notifiers().

What type of breakage do we get without this patch?  Does the assignment
of dev->mtu in ipoib_mcast_join_task() need the same conversion?

 - R.



More information about the general mailing list