On Wed, Dec 16, 2015 at 04:15:58PM +0100, Jesper Dangaard Brouer wrote: > When trying to understand this code, keep in mind that we are trying > to keep backward compatible with older kernels. Thus, this printing > might be have been left here to keep compat with older kernels, but I > think we can remove it now.
For a given kernel which still uses the upper eight bits of 'mpu' as overhead value, iproute2 has become incompatible since commit bccd014b866da ("Overhead calculation is now done in the kernel.") as that eliminated the encoding while setting. So in order to stay compatible, it should have left it in place while assigning to opt.*.overhead in addition to that. Or the other way round, do the same change to the output path as well. So from a compatibility point of view, things are incompatible anyway. Nobody complained, so I'd assume there are no users requiring this (anymore). In fact, I couldn't even find the related change from using 'mpu>>8' to 'overhead' on kernel side. Dmitrii, did iproute2 without your change even print the overhead as set by you before? Looking at the code, I'd assume not. Cheers, Phil -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html