git: netbt: Add back m_len/m_pkthdr.len assignments in l2cap_send_signal()

Aaron LI aly at crater.dragonflybsd.org
Mon Jan 1 18:22:13 PST 2024


commit ec9574ddcb510077bbeed733911e6e562783dea5
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jan 2 09:54:51 2024 +0800

    netbt: Add back m_len/m_pkthdr.len assignments in l2cap_send_signal()
    
    In case the 'length' being zero, the m_len/m_pkthdr.len will not be
    updated by m_copyback2() and hence are wrong.  Fix it to match the
    original behavior.

Summary of changes:
 sys/netbt/l2cap_signal.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ec9574ddcb510077bbeed733911e6e562783dea5


-- 
DragonFly BSD source repository


More information about the Commits mailing list