Re: [PATCH] sctp: align MTU to a word

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 18, 2016 at 03:09:34PM -0700, Eric Dumazet wrote:
> On Fri, 2016-03-18 at 18:39 -0300, Marcelo Ricardo Leitner wrote:
> 
> > -		transport->pathmtu = dst_mtu(transport->dst);
> > +		transport->pathmtu = dst_mtu(transport->dst) & ~3;
> 
> 
> Well, surely a helper doing this would be better than spreading & ~3 all
> over the places ;)

Heh.. agreed
for this and the other patch too, will post a v2
Thanks

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux