Module Name: src Committed By: ozaki-r Date: Tue Feb 7 02:36:48 UTC 2017
Modified Files: src/sys/sys: mbuf.h Log Message: Tweak m_get_rcvif Call pserialize_read_exit if if_byindex returns NULL in m_get_rcvif. By changing so, callers need to call m_put_rcvif only if m_get_rcvif returns non-NULL. Old m_get_rcvif/m_put_rcvif could forget to call pserialize_read_exit, which is pointed out by maxv@. The change fixes it. To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.168 src/sys/sys/mbuf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.