diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 21:07:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 21:07:07 -0500 |
commit | 6be35c700f742e911ecedd07fcc43d4439922334 (patch) | |
tree | ca9f37214d204465fcc2d79c82efd291e357c53c /drivers/isdn | |
parent | e37aa63e87bd581f9be5555ed0ba83f5295c92fc (diff) | |
parent | 520dfe3a3645257bf83660f672c47f8558f3d4c4 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking changes from David Miller:
1) Allow to dump, monitor, and change the bridge multicast database
using netlink. From Cong Wang.
2) RFC 5961 TCP blind data injection attack mitigation, from Eric
Dumazet.
3) Networking user namespace support from Eric W. Biederman.
4) tuntap/virtio-net multiqueue support by Jason Wang.
5) Support for checksum offload of encapsulated packets (basically,
tunneled traffic can still be checksummed by HW). From Joseph
Gasparakis.
6) Allow BPF filter access to VLAN tags, from Eric Dumazet and
Daniel Borkmann.
7) Bridge port parameters over netlink and BPDU blocking support
from Stephen Hemminger.
8) Improve data access patterns during inet socket demux by rearranging
socket layout, from Eric Dumazet.
9) TIPC protocol updates and cleanups from Ying Xue, Paul Gortmaker, and
Jon Maloy.
10) Update TCP socket hash sizing to be more in line with current day
realities. The existing heurstics were choosen a decade ago.
From Eric Dumazet.
11) Fix races, queue bloat, and excessive wakeups in ATM and
associated drivers, from Krzysztof Mazur and David Woodhouse.
12) Support DOVE (Distributed Overlay Virtual Ethernet) extensions
in VXLAN driver, from David Stevens.
13) Add "oops_only" mode to netconsole, from Amerigo Wang.
14) Support set and query of VEB/VEPA bridge mode via PF_BRIDGE, also
allow DCB netlink to work on namespaces other than the initial
namespace. From John Fastabend.
15) Support PTP in the Tigon3 driver, from Matt Carlson.
16) tun/vhost zero copy fixes and improvements, plus turn it on
by default, from Michael S. Tsirkin.
17) Support per-association statistics in SCTP, from Michele
Baldessari.
And many, many, driver updates, cleanups, and improvements. Too
numerous to mention individually.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1722 commits)
net/mlx4_en: Add support for destination MAC in steering rules
net/mlx4_en: Use generic etherdevice.h functions.
net: ethtool: Add destination MAC address to flow steering API
bridge: add support of adding and deleting mdb entries
bridge: notify mdb changes via netlink
ndisc: Unexport ndisc_{build,send}_skb().
uapi: add missing netconf.h to export list
pkt_sched: avoid requeues if possible
solos-pci: fix double-free of TX skb in DMA mode
bnx2: Fix accidental reversions.
bna: Driver Version Updated to 3.1.2.1
bna: Firmware update
bna: Add RX State
bna: Rx Page Based Allocation
bna: TX Intr Coalescing Fix
bna: Tx and Rx Optimizations
bna: Code Cleanup and Enhancements
ath9k: check pdata variable before dereferencing it
ath5k: RX timestamp is reported at end of frame
ath9k_htc: RX timestamp is reported at end of frame
...
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcpci.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hardware/mISDN/mISDNisar.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hisax/callc.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hisax/hfc_pci.c | 2 | ||||
-rw-r--r-- | drivers/isdn/hisax/hfc_sx.c | 2 | ||||
-rw-r--r-- | drivers/isdn/mISDN/l1oip_core.c | 5 | ||||
-rw-r--r-- | drivers/isdn/mISDN/tei.c | 20 | ||||
-rw-r--r-- | drivers/isdn/pcbit/layer2.c | 2 |
8 files changed, 17 insertions, 20 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c index 81363ffa5357..6e99d73563b8 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c | |||
@@ -490,7 +490,7 @@ receive_dmsg(struct hfc_pci *hc) | |||
490 | (df->data[le16_to_cpu(zp->z1)])) { | 490 | (df->data[le16_to_cpu(zp->z1)])) { |
491 | if (dch->debug & DEBUG_HW) | 491 | if (dch->debug & DEBUG_HW) |
492 | printk(KERN_DEBUG | 492 | printk(KERN_DEBUG |
493 | "empty_fifo hfcpci paket inv. len " | 493 | "empty_fifo hfcpci packet inv. len " |
494 | "%d or crc %d\n", | 494 | "%d or crc %d\n", |
495 | rcnt, | 495 | rcnt, |
496 | df->data[le16_to_cpu(zp->z1)]); | 496 | df->data[le16_to_cpu(zp->z1)]); |
diff --git a/drivers/isdn/hardware/mISDN/mISDNisar.c b/drivers/isdn/hardware/mISDN/mISDNisar.c index 182ecf0626c2..feafa91c2ed9 100644 --- a/drivers/isdn/hardware/mISDN/mISDNisar.c +++ b/drivers/isdn/hardware/mISDN/mISDNisar.c | |||
@@ -1302,7 +1302,7 @@ modeisar(struct isar_ch *ch, u32 bprotocol) | |||
1302 | &ch->is->Flags)) | 1302 | &ch->is->Flags)) |
1303 | ch->dpath = 1; | 1303 | ch->dpath = 1; |
1304 | else { | 1304 | else { |
1305 | pr_info("modeisar both pathes in use\n"); | 1305 | pr_info("modeisar both paths in use\n"); |
1306 | return -EBUSY; | 1306 | return -EBUSY; |
1307 | } | 1307 | } |
1308 | if (bprotocol == ISDN_P_B_HDLC) | 1308 | if (bprotocol == ISDN_P_B_HDLC) |
diff --git a/drivers/isdn/hisax/callc.c b/drivers/isdn/hisax/callc.c index a47637be0cc5..ddec47a911a0 100644 --- a/drivers/isdn/hisax/callc.c +++ b/drivers/isdn/hisax/callc.c | |||
@@ -35,7 +35,7 @@ static int chancount; | |||
35 | /* experimental REJECT after ALERTING for CALLBACK to beat the 4s delay */ | 35 | /* experimental REJECT after ALERTING for CALLBACK to beat the 4s delay */ |
36 | #define ALERT_REJECT 0 | 36 | #define ALERT_REJECT 0 |
37 | 37 | ||
38 | /* Value to delay the sending of the first B-channel paket after CONNECT | 38 | /* Value to delay the sending of the first B-channel packet after CONNECT |
39 | * here is no value given by ITU, but experience shows that 300 ms will | 39 | * here is no value given by ITU, but experience shows that 300 ms will |
40 | * work on many networks, if you or your other side is behind local exchanges | 40 | * work on many networks, if you or your other side is behind local exchanges |
41 | * a greater value may be recommented. If the delay is to short the first paket | 41 | * a greater value may be recommented. If the delay is to short the first paket |
diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c index 334fa90bed8e..f60d4be58941 100644 --- a/drivers/isdn/hisax/hfc_pci.c +++ b/drivers/isdn/hisax/hfc_pci.c | |||
@@ -354,7 +354,7 @@ receive_dmsg(struct IsdnCardState *cs) | |||
354 | if ((rcnt > MAX_DFRAME_LEN + 3) || (rcnt < 4) || | 354 | if ((rcnt > MAX_DFRAME_LEN + 3) || (rcnt < 4) || |
355 | (df->data[zp->z1])) { | 355 | (df->data[zp->z1])) { |
356 | if (cs->debug & L1_DEB_WARN) | 356 | if (cs->debug & L1_DEB_WARN) |
357 | debugl1(cs, "empty_fifo hfcpci paket inv. len %d or crc %d", rcnt, df->data[zp->z1]); | 357 | debugl1(cs, "empty_fifo hfcpci packet inv. len %d or crc %d", rcnt, df->data[zp->z1]); |
358 | #ifdef ERROR_STATISTIC | 358 | #ifdef ERROR_STATISTIC |
359 | cs->err_rx++; | 359 | cs->err_rx++; |
360 | #endif | 360 | #endif |
diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c index 4db846be4369..4ec279ce052f 100644 --- a/drivers/isdn/hisax/hfc_sx.c +++ b/drivers/isdn/hisax/hfc_sx.c | |||
@@ -270,7 +270,7 @@ read_fifo(struct IsdnCardState *cs, u_char fifo, int trans_max) | |||
270 | 270 | ||
271 | if ((count > fifo_size) || (count < 4)) { | 271 | if ((count > fifo_size) || (count < 4)) { |
272 | if (cs->debug & L1_DEB_WARN) | 272 | if (cs->debug & L1_DEB_WARN) |
273 | debugl1(cs, "hfcsx_read_fifo %d paket inv. len %d ", fifo , count); | 273 | debugl1(cs, "hfcsx_read_fifo %d packet inv. len %d ", fifo , count); |
274 | while (count) { | 274 | while (count) { |
275 | count--; /* empty fifo */ | 275 | count--; /* empty fifo */ |
276 | Read_hfc(cs, HFCSX_FIF_DRD); | 276 | Read_hfc(cs, HFCSX_FIF_DRD); |
diff --git a/drivers/isdn/mISDN/l1oip_core.c b/drivers/isdn/mISDN/l1oip_core.c index db50f788855d..f8e405c383a0 100644 --- a/drivers/isdn/mISDN/l1oip_core.c +++ b/drivers/isdn/mISDN/l1oip_core.c | |||
@@ -277,7 +277,6 @@ l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask, | |||
277 | u16 timebase, u8 *buf, int len) | 277 | u16 timebase, u8 *buf, int len) |
278 | { | 278 | { |
279 | u8 *p; | 279 | u8 *p; |
280 | int multi = 0; | ||
281 | u8 frame[len + 32]; | 280 | u8 frame[len + 32]; |
282 | struct socket *socket = NULL; | 281 | struct socket *socket = NULL; |
283 | 282 | ||
@@ -317,9 +316,7 @@ l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask, | |||
317 | *p++ = hc->id >> 8; | 316 | *p++ = hc->id >> 8; |
318 | *p++ = hc->id; | 317 | *p++ = hc->id; |
319 | } | 318 | } |
320 | *p++ = (multi == 1) ? 0x80 : 0x00 + channel; /* m-flag, channel */ | 319 | *p++ = 0x00 + channel; /* m-flag, channel */ |
321 | if (multi == 1) | ||
322 | *p++ = len; /* length */ | ||
323 | *p++ = timebase >> 8; /* time base */ | 320 | *p++ = timebase >> 8; /* time base */ |
324 | *p++ = timebase; | 321 | *p++ = timebase; |
325 | 322 | ||
diff --git a/drivers/isdn/mISDN/tei.c b/drivers/isdn/mISDN/tei.c index be88728f1106..592f597d8951 100644 --- a/drivers/isdn/mISDN/tei.c +++ b/drivers/isdn/mISDN/tei.c | |||
@@ -250,7 +250,7 @@ tei_debug(struct FsmInst *fi, char *fmt, ...) | |||
250 | static int | 250 | static int |
251 | get_free_id(struct manager *mgr) | 251 | get_free_id(struct manager *mgr) |
252 | { | 252 | { |
253 | u64 ids = 0; | 253 | DECLARE_BITMAP(ids, 64) = { [0 ... BITS_TO_LONGS(64) - 1] = 0 }; |
254 | int i; | 254 | int i; |
255 | struct layer2 *l2; | 255 | struct layer2 *l2; |
256 | 256 | ||
@@ -261,11 +261,11 @@ get_free_id(struct manager *mgr) | |||
261 | __func__); | 261 | __func__); |
262 | return -EBUSY; | 262 | return -EBUSY; |
263 | } | 263 | } |
264 | test_and_set_bit(l2->ch.nr, (u_long *)&ids); | 264 | __set_bit(l2->ch.nr, ids); |
265 | } | 265 | } |
266 | for (i = 1; i < 64; i++) | 266 | i = find_next_zero_bit(ids, 64, 1); |
267 | if (!test_bit(i, (u_long *)&ids)) | 267 | if (i < 64) |
268 | return i; | 268 | return i; |
269 | printk(KERN_WARNING "%s: more as 63 layer2 for one device\n", | 269 | printk(KERN_WARNING "%s: more as 63 layer2 for one device\n", |
270 | __func__); | 270 | __func__); |
271 | return -EBUSY; | 271 | return -EBUSY; |
@@ -274,7 +274,7 @@ get_free_id(struct manager *mgr) | |||
274 | static int | 274 | static int |
275 | get_free_tei(struct manager *mgr) | 275 | get_free_tei(struct manager *mgr) |
276 | { | 276 | { |
277 | u64 ids = 0; | 277 | DECLARE_BITMAP(ids, 64) = { [0 ... BITS_TO_LONGS(64) - 1] = 0 }; |
278 | int i; | 278 | int i; |
279 | struct layer2 *l2; | 279 | struct layer2 *l2; |
280 | 280 | ||
@@ -288,11 +288,11 @@ get_free_tei(struct manager *mgr) | |||
288 | continue; | 288 | continue; |
289 | i -= 64; | 289 | i -= 64; |
290 | 290 | ||
291 | test_and_set_bit(i, (u_long *)&ids); | 291 | __set_bit(i, ids); |
292 | } | 292 | } |
293 | for (i = 0; i < 64; i++) | 293 | i = find_first_zero_bit(ids, 64); |
294 | if (!test_bit(i, (u_long *)&ids)) | 294 | if (i < 64) |
295 | return i + 64; | 295 | return i + 64; |
296 | printk(KERN_WARNING "%s: more as 63 dynamic tei for one device\n", | 296 | printk(KERN_WARNING "%s: more as 63 dynamic tei for one device\n", |
297 | __func__); | 297 | __func__); |
298 | return -1; | 298 | return -1; |
diff --git a/drivers/isdn/pcbit/layer2.c b/drivers/isdn/pcbit/layer2.c index a18e639b40d7..42ecfef80132 100644 --- a/drivers/isdn/pcbit/layer2.c +++ b/drivers/isdn/pcbit/layer2.c | |||
@@ -508,7 +508,7 @@ pcbit_irq_handler(int interrupt, void *devptr) | |||
508 | return IRQ_NONE; | 508 | return IRQ_NONE; |
509 | } | 509 | } |
510 | if (dev->interrupt) { | 510 | if (dev->interrupt) { |
511 | printk(KERN_DEBUG "pcbit: reentering interrupt hander\n"); | 511 | printk(KERN_DEBUG "pcbit: reentering interrupt handler\n"); |
512 | return IRQ_HANDLED; | 512 | return IRQ_HANDLED; |
513 | } | 513 | } |
514 | dev->interrupt = 1; | 514 | dev->interrupt = 1; |