Quoting Ivan Shmakov (2014-06-11 18:23:02) > >>>>> Justus Winter <4win...@informatik.uni-hamburg.de> writes: > > […] > > > @@ -243,8 +243,10 @@ netif_rx_handle (char *data, int len, struct > net_device *dev) > > > pack_size = len - sizeof (struct ethhdr); > > /* remember message sizes must be rounded up */ > > - net_msg->msg_hdr.msgh_size = (((mach_msg_size_t) (sizeof(struct > net_rcv_msg) > > - - NET_RCV_MAX + pack_size)) + > 3) & ~3; > > + net_msg->msg_hdr.msgh_size = > > + (((mach_msg_size_t) (sizeof (struct net_rcv_msg) > > While at it, couldn’t the above have been changed to > sizeof (*net_msg), BTW?
Ivan, in the time it took you to compose that mail you could have easily created and send a patch. Why didn't you ? Justus