aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 13:09:07 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 13:09:07 -0500
commit3d412f60b71e588544e7b75861084f12aa1d7acd (patch)
treecd527e396da9e85dcf85e14c4fabfe29e61ff5d0 /drivers
parent3098a1801f8b92575a5cd69c77d9fa94ea504dde (diff)
parent3113e88c3cb3c0a22920b621f8e4d1f2ccc07f1e (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (21 commits) [PKT_SCHED]: vlan tag match [NET]: Add if_addrlabel.h to sanitized headers. [NET] rtnetlink.c: remove no longer used functions [ICMP]: Restore pskb_pull calls in receive function [INET]: Fix accidentally broken inet(6)_hash_connect's port offset calculations. [NET]: Remove further references to net-modules.txt bluetooth rfcomm tty: destroy before tty_close() bluetooth: blacklist another Broadcom BCM2035 device drivers/bluetooth/btsdio.c: fix double-free drivers/bluetooth/bpa10x.c: fix memleak bluetooth: uninlining bluetooth: hidp_process_hid_control remove unnecessary parameter dealing tun: impossible to deassert IFF_ONE_QUEUE or IFF_NO_PI hamradio: fix dmascc section mismatch [SCTP]: Fix kernel panic while received AUTH chunk with BAD shared key identifier [SCTP]: Fix kernel panic while received AUTH chunk while enabled auth [IPV4]: Formatting fix for /proc/net/fib_trie. [IPV6]: Fix sysctl compilation error. [NET_SCHED]: Add #ifdef CONFIG_NET_EMATCH in net/sched/cls_flow.c (latest git broken build) [IPV4]: Fix compile error building without CONFIG_FS_PROC ...
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bluetooth/bpa10x.c1
-rw-r--r--drivers/bluetooth/btsdio.c4
-rw-r--r--drivers/bluetooth/hci_usb.c1
-rw-r--r--drivers/net/Kconfig6
-rw-r--r--drivers/net/hamradio/dmascc.c4
-rw-r--r--drivers/net/tun.c4
6 files changed, 11 insertions, 9 deletions
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c
index 1375b5345a0a..3b28658f5a1f 100644
--- a/drivers/bluetooth/bpa10x.c
+++ b/drivers/bluetooth/bpa10x.c
@@ -423,6 +423,7 @@ static int bpa10x_send_frame(struct sk_buff *skb)
423 break; 423 break;
424 424
425 default: 425 default:
426 usb_free_urb(urb);
426 return -EILSEQ; 427 return -EILSEQ;
427 } 428 }
428 429
diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c
index b786f6187902..58630cc1eff2 100644
--- a/drivers/bluetooth/btsdio.c
+++ b/drivers/bluetooth/btsdio.c
@@ -162,10 +162,8 @@ static int btsdio_rx_packet(struct btsdio_data *data)
162 bt_cb(skb)->pkt_type = hdr[3]; 162 bt_cb(skb)->pkt_type = hdr[3];
163 163
164 err = hci_recv_frame(skb); 164 err = hci_recv_frame(skb);
165 if (err < 0) { 165 if (err < 0)
166 kfree(skb);
167 return err; 166 return err;
168 }
169 167
170 sdio_writeb(data->func, 0x00, REG_PC_RRT, NULL); 168 sdio_writeb(data->func, 0x00, REG_PC_RRT, NULL);
171 169
diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c
index 98a9cdeaffb6..372c7ef633da 100644
--- a/drivers/bluetooth/hci_usb.c
+++ b/drivers/bluetooth/hci_usb.c
@@ -111,6 +111,7 @@ static struct usb_device_id blacklist_ids[] = {
111 { USB_DEVICE(0x0a5c, 0x2033), .driver_info = HCI_IGNORE }, 111 { USB_DEVICE(0x0a5c, 0x2033), .driver_info = HCI_IGNORE },
112 112
113 /* Broadcom BCM2035 */ 113 /* Broadcom BCM2035 */
114 { USB_DEVICE(0x0a5c, 0x2035), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
114 { USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU }, 115 { USB_DEVICE(0x0a5c, 0x200a), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
115 { USB_DEVICE(0x0a5c, 0x2009), .driver_info = HCI_BCM92035 }, 116 { USB_DEVICE(0x0a5c, 0x2009), .driver_info = HCI_BCM92035 },
116 117
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index f234ba3f0404..7d170cd381c3 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -920,8 +920,7 @@ config ENC28J60
920 ---help--- 920 ---help---
921 Support for the Microchip EN28J60 ethernet chip. 921 Support for the Microchip EN28J60 ethernet chip.
922 922
923 To compile this driver as a module, choose M here and read 923 To compile this driver as a module, choose M here. The module will be
924 <file:Documentation/networking/net-modules.txt>. The module will be
925 called enc28j60. 924 called enc28j60.
926 925
927config ENC28J60_WRITEVERIFY 926config ENC28J60_WRITEVERIFY
@@ -2041,8 +2040,7 @@ config IGB
2041 More specific information on configuring the driver is in 2040 More specific information on configuring the driver is in
2042 <file:Documentation/networking/e1000.txt>. 2041 <file:Documentation/networking/e1000.txt>.
2043 2042
2044 To compile this driver as a module, choose M here and read 2043 To compile this driver as a module, choose M here. The module
2045 <file:Documentation/networking/net-modules.txt>. The module
2046 will be called igb. 2044 will be called igb.
2047 2045
2048source "drivers/net/ixp2000/Kconfig" 2046source "drivers/net/ixp2000/Kconfig"
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c
index 11b83dae00ac..e04bf9926441 100644
--- a/drivers/net/hamradio/dmascc.c
+++ b/drivers/net/hamradio/dmascc.c
@@ -262,8 +262,8 @@ static void tm_isr(struct scc_priv *priv);
262 262
263static int io[MAX_NUM_DEVS] __initdata = { 0, }; 263static int io[MAX_NUM_DEVS] __initdata = { 0, };
264 264
265/* Beware! hw[] is also used in cleanup_module(). */ 265/* Beware! hw[] is also used in dmascc_exit(). */
266static struct scc_hardware hw[NUM_TYPES] __initdata_or_module = HARDWARE; 266static struct scc_hardware hw[NUM_TYPES] = HARDWARE;
267 267
268 268
269/* Global variables */ 269/* Global variables */
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 46339f6bcd00..038c1ef94d2e 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -529,9 +529,13 @@ static int tun_set_iff(struct file *file, struct ifreq *ifr)
529 529
530 if (ifr->ifr_flags & IFF_NO_PI) 530 if (ifr->ifr_flags & IFF_NO_PI)
531 tun->flags |= TUN_NO_PI; 531 tun->flags |= TUN_NO_PI;
532 else
533 tun->flags &= ~TUN_NO_PI;
532 534
533 if (ifr->ifr_flags & IFF_ONE_QUEUE) 535 if (ifr->ifr_flags & IFF_ONE_QUEUE)
534 tun->flags |= TUN_ONE_QUEUE; 536 tun->flags |= TUN_ONE_QUEUE;
537 else
538 tun->flags &= ~TUN_ONE_QUEUE;
535 539
536 file->private_data = tun; 540 file->private_data = tun;
537 tun->attached = 1; 541 tun->attached = 1;