bluetooth.h (986c6f7c3fc855032f3457a5a1b7fbcc09c375bb) | bluetooth.h (29fb608396d6a62c1b85acc421ad7a4399085b9f) |
---|---|
1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License version 2 as --- 492 unchanged lines hidden (view full) --- 501 502 /* Add remaining data over MTU as continuation fragments */ 503 frag = &skb_shinfo(skb)->frag_list; 504 while (len) { 505 struct sk_buff *tmp; 506 507 tmp = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); 508 if (IS_ERR(tmp)) { | 1/* 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 4 5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com> 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License version 2 as --- 492 unchanged lines hidden (view full) --- 501 502 /* Add remaining data over MTU as continuation fragments */ 503 frag = &skb_shinfo(skb)->frag_list; 504 while (len) { 505 struct sk_buff *tmp; 506 507 tmp = bt_skb_sendmsg(sk, msg, len, mtu, headroom, tailroom); 508 if (IS_ERR(tmp)) { |
509 kfree_skb(skb); 510 return tmp; | 509 return skb; |
511 } 512 513 len -= tmp->len; 514 515 *frag = tmp; 516 frag = &(*frag)->next; 517 } 518 --- 47 unchanged lines hidden --- | 510 } 511 512 len -= tmp->len; 513 514 *frag = tmp; 515 frag = &(*frag)->next; 516 } 517 --- 47 unchanged lines hidden --- |