On 26.09.2012 02:55, Vijay Singh wrote:
Folks, does the following patch make sense:
server@[/u/vijay/bsd/CODE/cur/sys/sys]# svn diff mbuf.h
Index: mbuf.h
===================================================================
--- mbuf.h (revision 240548)
+++ mbuf.h (working copy)
@@ -832,6 +832,8 @@
((m)->m_flags & M_EXT ? \
(M_WRITABLE(m) ? (m)->m_ext.ext_buf + (m)->m_ext.ext_size \
- ((m)->m_data + (m)->m_len) : 0) : \
+ (m)->m_flags & M_PKTHDR ? \
+ ((m)->m_pktdat[MHLEN] - ((m)->m_data + (m)->m_len)) : \
&(m)->m_dat[MLEN] - ((m)->m_data + (m)->m_len))
Isn't this the same result in both cases? And isn't there a '&' missing?
--
Andre
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"