Skip to content

Commit 06f4e92

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1446 commits) macvlan: fix panic if lowerdev in a bond tg3: Add braces around 5906 workaround. tg3: Fix NETIF_F_LOOPBACK error macvlan: remove one synchronize_rcu() call networking: NET_CLS_ROUTE4 depends on INET irda: Fix error propagation in ircomm_lmp_connect_response() irda: Kill set but unused variable 'bytes' in irlan_check_command_param() irda: Kill set but unused variable 'clen' in ircomm_connect_indication() rxrpc: Fix set but unused variable 'usage' in rxrpc_get_transport() be2net: Kill set but unused variable 'req' in lancer_fw_download() irda: Kill set but unused vars 'saddr' and 'daddr' in irlan_provider_connect_indication() atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined. rxrpc: Fix set but unused variable 'usage' in rxrpc_get_peer(). rxrpc: Kill set but unused variable 'local' in rxrpc_UDP_error_handler() rxrpc: Kill set but unused variable 'sp' in rxrpc_process_connection() rxrpc: Kill set but unused variable 'sp' in rxrpc_rotate_tx_window() pkt_sched: Kill set but unused variable 'protocol' in tc_classify() isdn: capi: Use pr_debug() instead of ifdefs. tg3: Update version to 3.119 tg3: Apply rx_discards fix to 5719/5720 ... Fix up trivial conflicts in arch/x86/Kconfig and net/mac80211/agg-tx.c as per Davem.
2 parents 8e7bfcb + d935156 commit 06f4e92

File tree

1,198 files changed

+126873
-79635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,198 files changed

+126873
-79635
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
What: /sys/bus/bcma/devices/.../manuf
2+
Date: May 2011
3+
KernelVersion: 2.6.40
4+
Contact: Rafał Miłecki <[email protected]>
5+
Description:
6+
Each BCMA core has it's manufacturer id. See
7+
include/linux/bcma/bcma.h for possible values.
8+
9+
What: /sys/bus/bcma/devices/.../id
10+
Date: May 2011
11+
KernelVersion: 2.6.40
12+
Contact: Rafał Miłecki <[email protected]>
13+
Description:
14+
There are a few types of BCMA cores, they can be identified by
15+
id field.
16+
17+
What: /sys/bus/bcma/devices/.../rev
18+
Date: May 2011
19+
KernelVersion: 2.6.40
20+
Contact: Rafał Miłecki <[email protected]>
21+
Description:
22+
BCMA cores of the same type can still slightly differ depending
23+
on their revision. Use it for detailed programming.
24+
25+
What: /sys/bus/bcma/devices/.../class
26+
Date: May 2011
27+
KernelVersion: 2.6.40
28+
Contact: Rafał Miłecki <[email protected]>
29+
Description:
30+
Each BCMA core is identified by few fields, including class it
31+
belongs to. See include/linux/bcma/bcma.h for possible values.

Documentation/feature-removal-schedule.txt

-21
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,6 @@ Who: Luis R. Rodriguez <[email protected]>
3535

3636
---------------------------
3737

38-
What: AR9170USB
39-
When: 2.6.40
40-
41-
Why: This driver is deprecated and the firmware is no longer
42-
maintained. The replacement driver "carl9170" has been
43-
around for a while, so the devices are still supported.
44-
45-
Who: Christian Lamparter <[email protected]>
46-
47-
---------------------------
48-
4938
What: IRQF_SAMPLE_RANDOM
5039
Check: IRQF_SAMPLE_RANDOM
5140
When: July 2009
@@ -405,16 +394,6 @@ Who: anybody or Florian Mickler <[email protected]>
405394

406395
----------------------------
407396

408-
What: capifs
409-
When: February 2011
410-
Files: drivers/isdn/capi/capifs.*
411-
Why: udev fully replaces this special file system that only contains CAPI
412-
NCCI TTY device nodes. User space (pppdcapiplugin) works without
413-
noticing the difference.
414-
Who: Jan Kiszka <[email protected]>
415-
416-
----------------------------
417-
418397
What: KVM paravirt mmu host support
419398
When: January 2011
420399
Why: The paravirt mmu host support is slower than non-paravirt mmu, both

Documentation/networking/batman-adv.txt

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[state: 27-01-2011]
1+
[state: 17-04-2011]
22

33
BATMAN-ADV
44
----------
@@ -19,6 +19,7 @@ duce the overhead to a minimum. It does not depend on any (other)
1919
network driver, and can be used on wifi as well as ethernet lan,
2020
vpn, etc ... (anything with ethernet-style layer 2).
2121

22+
2223
CONFIGURATION
2324
-------------
2425

@@ -160,13 +161,13 @@ face. Each entry can/has to have the following values:
160161
-> "TQ mac value" - src mac's link quality towards mac address
161162
of a neighbor originator's interface which
162163
is being used for routing
163-
-> "HNA mac" - HNA announced by source mac
164+
-> "TT mac" - TT announced by source mac
164165
-> "PRIMARY" - this is a primary interface
165166
-> "SEC mac" - secondary mac address of source
166167
(requires preceding PRIMARY)
167168

168169
The TQ value has a range from 4 to 255 with 255 being the best.
169-
The HNA entries are showing which hosts are connected to the mesh
170+
The TT entries are showing which hosts are connected to the mesh
170171
via bat0 or being bridged into the mesh network. The PRIMARY/SEC
171172
values are only applied on primary interfaces
172173

@@ -199,15 +200,15 @@ abled during run time. Following log_levels are defined:
199200

200201
0 - All debug output disabled
201202
1 - Enable messages related to routing / flooding / broadcasting
202-
2 - Enable route or hna added / changed / deleted
203+
2 - Enable route or tt entry added / changed / deleted
203204
3 - Enable all messages
204205

205206
The debug output can be changed at runtime using the file
206207
/sys/class/net/bat0/mesh/log_level. e.g.
207208

208209
# echo 2 > /sys/class/net/bat0/mesh/log_level
209210

210-
will enable debug messages for when routes or HNAs change.
211+
will enable debug messages for when routes or TTs change.
211212

212213

213214
BATCTL

Documentation/networking/bonding.txt

+16-18
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Linux Ethernet Bonding Driver HOWTO
33

4-
Latest update: 23 September 2009
4+
Latest update: 27 April 2011
55

66
Initial release : Thomas Davis <tadavis at lbl.gov>
77
Corrections, HA extensions : 2000/10/03-15 :
@@ -585,25 +585,23 @@ mode
585585
chosen.
586586

587587
num_grat_arp
588-
589-
Specifies the number of gratuitous ARPs to be issued after a
590-
failover event. One gratuitous ARP is issued immediately after
591-
the failover, subsequent ARPs are sent at a rate of one per link
592-
monitor interval (arp_interval or miimon, whichever is active).
593-
594-
The valid range is 0 - 255; the default value is 1. This option
595-
affects only the active-backup mode. This option was added for
596-
bonding version 3.3.0.
597-
598588
num_unsol_na
599589

600-
Specifies the number of unsolicited IPv6 Neighbor Advertisements
601-
to be issued after a failover event. One unsolicited NA is issued
602-
immediately after the failover.
603-
604-
The valid range is 0 - 255; the default value is 1. This option
605-
affects only the active-backup mode. This option was added for
606-
bonding version 3.4.0.
590+
Specify the number of peer notifications (gratuitous ARPs and
591+
unsolicited IPv6 Neighbor Advertisements) to be issued after a
592+
failover event. As soon as the link is up on the new slave
593+
(possibly immediately) a peer notification is sent on the
594+
bonding device and each VLAN sub-device. This is repeated at
595+
each link monitor interval (arp_interval or miimon, whichever
596+
is active) if the number is greater than 1.
597+
598+
The valid range is 0 - 255; the default value is 1. These options
599+
affect only the active-backup mode. These options were added for
600+
bonding versions 3.3.0 and 3.4.0 respectively.
601+
602+
From Linux 2.6.40 and bonding version 3.7.1, these notifications
603+
are generated by the ipv4 and ipv6 code and the numbers of
604+
repetitions cannot be set independently.
607605

608606
primary
609607

Documentation/networking/igb.txt

+13
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ Additional Configurations
9393
REQUIREMENTS: MSI-X support is required for Multiqueue. If MSI-X is not
9494
found, the system will fallback to MSI or to Legacy interrupts.
9595

96+
MAC and VLAN anti-spoofing feature
97+
----------------------------------
98+
When a malicious driver attempts to send a spoofed packet, it is dropped by
99+
the hardware and not transmitted. An interrupt is sent to the PF driver
100+
notifying it of the spoof attempt.
101+
102+
When a spoofed packet is detected the PF driver will send the following
103+
message to the system log (displayed by the "dmesg" command):
104+
105+
Spoof event(s) detected on VF(n)
106+
107+
Where n=the VF that attempted to do the spoofing.
108+
96109
Support
97110
=======
98111

Documentation/sysctl/net.txt

+11
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ Table : Subdirectories in /proc/sys/net
3232
1. /proc/sys/net/core - Network core options
3333
-------------------------------------------------------
3434

35+
bpf_jit_enable
36+
--------------
37+
38+
This enables Berkeley Packet Filter Just in Time compiler.
39+
Currently supported on x86_64 architecture, bpf_jit provides a framework
40+
to speed packet filtering, the one used by tcpdump/libpcap for example.
41+
Values :
42+
0 - disable the JIT (default value)
43+
1 - enable the JIT
44+
2 - enable the JIT and ask the compiler to emit traces on kernel log.
45+
3546
rmem_default
3647
------------
3748

MAINTAINERS

+14-7
Original file line numberDiff line numberDiff line change
@@ -1232,13 +1232,6 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k
12321232
S: Supported
12331233
F: drivers/net/wireless/ath/ath9k/
12341234

1235-
ATHEROS AR9170 WIRELESS DRIVER
1236-
M: Christian Lamparter <[email protected]>
1237-
1238-
W: http://wireless.kernel.org/en/users/Drivers/ar9170
1239-
S: Obsolete
1240-
F: drivers/net/wireless/ath/ar9170/
1241-
12421235
CARL9170 LINUX COMMUNITY WIRELESS DRIVER
12431236
M: Christian Lamparter <[email protected]>
12441237
@@ -3363,6 +3356,12 @@ F: Documentation/wimax/README.i2400m
33633356
F: drivers/net/wimax/i2400m/
33643357
F: include/linux/wimax/i2400m.h
33653358

3359+
INTEL WIRELESS 3945ABG/BG, 4965AGN (iwlegacy)
3360+
M: Stanislaw Gruszka <[email protected]>
3361+
3362+
S: Supported
3363+
F: drivers/net/wireless/iwlegacy/
3364+
33663365
INTEL WIRELESS WIFI LINK (iwlwifi)
33673366
M: Wey-Yi Guy <[email protected]>
33683367
M: Intel Linux Wireless <[email protected]>
@@ -4385,6 +4384,7 @@ S: Maintained
43854384
F: net/ipv4/
43864385
F: net/ipv6/
43874386
F: include/net/ip*
4387+
F: arch/x86/net/*
43884388

43894389
NETWORKING [LABELED] (NetLabel, CIPSO, Labeled IPsec, SECMARK)
43904390
M: Paul Moore <[email protected]>
@@ -5832,6 +5832,13 @@ S: Maintained
58325832
F: drivers/ssb/
58335833
F: include/linux/ssb/
58345834

5835+
BROADCOM SPECIFIC AMBA DRIVER (BCMA)
5836+
M: Rafał Miłecki <[email protected]>
5837+
5838+
S: Maintained
5839+
F: drivers/bcma/
5840+
F: include/linux/bcma/
5841+
58355842
SONY VAIO CONTROL DEVICE DRIVER
58365843
M: Mattia Dongili <[email protected]>
58375844

arch/mips/txx9/generic/setup_tx4939.c

+8-13
Original file line numberDiff line numberDiff line change
@@ -318,19 +318,15 @@ void __init tx4939_sio_init(unsigned int sclk, unsigned int cts_mask)
318318
}
319319

320320
#if defined(CONFIG_TC35815) || defined(CONFIG_TC35815_MODULE)
321-
static int tx4939_get_eth_speed(struct net_device *dev)
321+
static u32 tx4939_get_eth_speed(struct net_device *dev)
322322
{
323-
struct ethtool_cmd cmd = { ETHTOOL_GSET };
324-
int speed = 100; /* default 100Mbps */
325-
int err;
326-
if (!dev->ethtool_ops || !dev->ethtool_ops->get_settings)
327-
return speed;
328-
err = dev->ethtool_ops->get_settings(dev, &cmd);
329-
if (err < 0)
330-
return speed;
331-
speed = cmd.speed == SPEED_100 ? 100 : 10;
332-
return speed;
323+
struct ethtool_cmd cmd;
324+
if (dev_ethtool_get_settings(dev, &cmd))
325+
return 100; /* default 100Mbps */
326+
327+
return ethtool_cmd_speed(&cmd);
333328
}
329+
334330
static int tx4939_netdev_event(struct notifier_block *this,
335331
unsigned long event,
336332
void *ptr)
@@ -343,8 +339,7 @@ static int tx4939_netdev_event(struct notifier_block *this,
343339
else if (dev->irq == TXX9_IRQ_BASE + TX4939_IR_ETH(1))
344340
bit = TX4939_PCFG_SPEED1;
345341
if (bit) {
346-
int speed = tx4939_get_eth_speed(dev);
347-
if (speed == 100)
342+
if (tx4939_get_eth_speed(dev) == 100)
348343
txx9_set64(&tx4939_ccfgptr->pcfg, bit);
349344
else
350345
txx9_clear64(&tx4939_ccfgptr->pcfg, bit);

arch/powerpc/include/asm/systbl.h

+1
Original file line numberDiff line numberDiff line change
@@ -352,3 +352,4 @@ SYSCALL_SPU(name_to_handle_at)
352352
COMPAT_SYS_SPU(open_by_handle_at)
353353
COMPAT_SYS_SPU(clock_adjtime)
354354
SYSCALL_SPU(syncfs)
355+
COMPAT_SYS_SPU(sendmmsg)

arch/powerpc/include/asm/unistd.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,11 @@
371371
#define __NR_open_by_handle_at 346
372372
#define __NR_clock_adjtime 347
373373
#define __NR_syncfs 348
374+
#define __NR_sendmmsg 349
374375

375376
#ifdef __KERNEL__
376377

377-
#define __NR_syscalls 349
378+
#define __NR_syscalls 350
378379

379380
#define __NR__exit __NR_exit
380381
#define NR_syscalls __NR_syscalls

arch/sparc/include/asm/unistd.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,9 @@
404404
#define __NR_open_by_handle_at 333
405405
#define __NR_clock_adjtime 334
406406
#define __NR_syncfs 335
407+
#define __NR_sendmmsg 336
407408

408-
#define NR_syscalls 336
409+
#define NR_syscalls 337
409410

410411
#ifdef __32bit_syscall_numbers__
411412
/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants,

arch/sparc/kernel/systbls_32.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ sys_call_table:
8484
/*320*/ .long sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv
8585
/*325*/ .long sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
8686
/*330*/ .long sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
87-
/*335*/ .long sys_syncfs
87+
/*335*/ .long sys_syncfs, sys_sendmmsg

arch/sparc/kernel/systbls_64.S

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ sys_call_table32:
8585
/*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, compat_sys_preadv
8686
.word compat_sys_pwritev, compat_sys_rt_tgsigqueueinfo, sys_perf_event_open, compat_sys_recvmmsg, sys_fanotify_init
8787
/*330*/ .word sys32_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, compat_sys_open_by_handle_at, compat_sys_clock_adjtime
88-
.word sys_syncfs
88+
.word sys_syncfs, compat_sys_sendmmsg
8989

9090
#endif /* CONFIG_COMPAT */
9191

@@ -162,4 +162,4 @@ sys_call_table:
162162
/*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv
163163
.word sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
164164
/*330*/ .word sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
165-
.word sys_syncfs
165+
.word sys_syncfs, sys_sendmmsg

arch/x86/Kbuild

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ obj-y += vdso/
1515
obj-$(CONFIG_IA32_EMULATION) += ia32/
1616

1717
obj-y += platform/
18+
obj-y += net/

arch/x86/Kconfig

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ config X86
7272
select GENERIC_IRQ_SHOW
7373
select IRQ_FORCED_THREADING
7474
select USE_GENERIC_SMP_HELPERS if SMP
75+
select HAVE_BPF_JIT if (X86_64 && NET)
7576

7677
config INSTRUCTION_DECODER
7778
def_bool (KPROBES || PERF_EVENTS)

arch/x86/ia32/ia32entry.S

+1
Original file line numberDiff line numberDiff line change
@@ -848,4 +848,5 @@ ia32_sys_call_table:
848848
.quad compat_sys_open_by_handle_at
849849
.quad compat_sys_clock_adjtime
850850
.quad sys_syncfs
851+
.quad compat_sys_sendmmsg /* 345 */
851852
ia32_syscall_end:

arch/x86/include/asm/unistd_32.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,11 @@
350350
#define __NR_open_by_handle_at 342
351351
#define __NR_clock_adjtime 343
352352
#define __NR_syncfs 344
353+
#define __NR_sendmmsg 345
353354

354355
#ifdef __KERNEL__
355356

356-
#define NR_syscalls 345
357+
#define NR_syscalls 346
357358

358359
#define __ARCH_WANT_IPC_PARSE_VERSION
359360
#define __ARCH_WANT_OLD_READDIR

arch/x86/include/asm/unistd_64.h

+2
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,8 @@ __SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at)
677677
__SYSCALL(__NR_clock_adjtime, sys_clock_adjtime)
678678
#define __NR_syncfs 306
679679
__SYSCALL(__NR_syncfs, sys_syncfs)
680+
#define __NR_sendmmsg 307
681+
__SYSCALL(__NR_sendmmsg, sys_sendmmsg)
680682

681683
#ifndef __NO_STUBS
682684
#define __ARCH_WANT_OLD_READDIR

arch/x86/kernel/syscall_table_32.S

+1
Original file line numberDiff line numberDiff line change
@@ -344,3 +344,4 @@ ENTRY(sys_call_table)
344344
.long sys_open_by_handle_at
345345
.long sys_clock_adjtime
346346
.long sys_syncfs
347+
.long sys_sendmmsg /* 345 */

arch/x86/net/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#
2+
# Arch-specific network modules
3+
#
4+
obj-$(CONFIG_BPF_JIT) += bpf_jit.o bpf_jit_comp.o

0 commit comments

Comments
 (0)