FreeBSD Bugzilla – Attachment 150851 Details for
Bug 196174
Bluetooth does not work (since r275326) - hccontrol prints EMSGSIZE error and fails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
another patch
196174.diff (text/plain), 1.01 KB, created by
Gleb Smirnoff
on 2014-12-22 15:09:02 UTC
(
hide
)
Description:
another patch
Filename:
MIME Type:
Creator:
Gleb Smirnoff
Created:
2014-12-22 15:09:02 UTC
Size:
1.01 KB
patch
obsolete
>Index: uipc_sockbuf.c >=================================================================== >--- uipc_sockbuf.c (revision 276057) >+++ uipc_sockbuf.c (working copy) >@@ -579,7 +579,7 @@ sbappend_locked(struct sockbuf *sb, struct mbuf *m > > if (m == 0) > return; >- >+ m_clrprotoflags(m); > SBLASTRECORDCHK(sb); > n = sb->sb_mb; > if (n) { >@@ -732,6 +732,7 @@ sbappendrecord_locked(struct sockbuf *sb, struct m > > if (m0 == 0) > return; >+ m_clrprotoflags(m0); > /* > * Put the first mbuf on the queue. Note this permits zero length > * records. >@@ -777,6 +778,8 @@ sbappendaddr_locked_internal(struct sockbuf *sb, c > return (0); > m->m_len = asa->sa_len; > bcopy(asa, mtod(m, caddr_t), asa->sa_len); >+ if (m0) >+ m_clrprotoflags(m0); > if (ctrl_last) > ctrl_last->m_next = m0; /* concatenate data to control */ > else >@@ -872,6 +875,7 @@ sbappendcontrol_locked(struct sockbuf *sb, struct > > if (space > sbspace(sb)) > return (0); >+ m_clrprotoflags(m0); > n->m_next = m0; /* concatenate data to control */ > > SBLASTRECORDCHK(sb);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196174
:
150848
| 150851