aboutsummaryrefslogtreecommitdiff
path: root/net
AgeCommit message (Collapse)AuthorFilesLines
2009-11-13ipv6: use RCU to walk list of network devicesEric Dumazet2-43/+37
No longer need read_lock(&dev_base_lock), use RCU instead. We also can avoid taking references on inet6_dev structs. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13net: TCP_MSS_DEFAULT, TCP_MSS_DESIREDWilliam Allen Simpson4-7/+7
Define two symbols needed in both kernel and user space. Remove old (somewhat incorrect) kernel variant that wasn't used in most cases. Default should apply to both RMSS and SMSS (RFC2581). Replace numeric constants with defined symbols. Stand-alone patch, originally developed for TCPCT. Signed-off-by: [email protected] Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13ipmr: missing dev_put() on error path in vif_add()Dan Carpenter1-1/+3
The other error paths in front of this one have a dev_put() but this one got missed. Found by smatch static checker. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Wang Chen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13sctp: Set socket source address when additing first transportVlad Yasevich1-1/+2
Recent commits sctp: Get rid of an extra routing lookup when adding a transport and sctp: Set source addresses on the association before adding transports changed when routes are added to the sctp transports. As such, we didn't set the socket source address correctly when adding the first transport. The first transport is always the primary/active one, so when adding it, set the socket source address. This was causing regression failures in SCTP tests. Signed-off-by: Vlad Yasevich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13sctp: Fix regression introduced by new sctp_connectx apiVlad Yasevich1-5/+13
A new (unrealeased to the user) sctp_connectx api c6ba68a26645dbc5029a9faa5687ebe6fcfc53e4 sctp: support non-blocking version of the new sctp_connectx() API introduced a regression cought by the user regression test suite. In particular, the API requires the user library to re-allocate the buffer and could potentially trigger a SIGFAULT. This change corrects that regression by passing the original address buffer to the kernel unmodified, but still allows for a returned association id. Signed-off-by: Vlad Yasevich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13sctp: Set source addresses on the association before adding transportsVlad Yasevich3-19/+22
Recent commit 8da645e101a8c20c6073efda3c7cc74eec01b87f sctp: Get rid of an extra routing lookup when adding a transport introduced a regression in the connection setup. The behavior was different between IPv4 and IPv6. IPv4 case ended up working because the route lookup routing returned a NULL route, which triggered another route lookup later in the output patch that succeeded. In the IPv6 case, a valid route was returned for first call, but we could not find a valid source address at the time since the source addresses were not set on the association yet. Thus resulted in a hung connection. The solution is to set the source addresses on the association prior to adding peers. Signed-off-by: Vlad Yasevich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-14SUNRPC: Address buffer overrun in rpc_uaddr2sockaddr()Chuck Lever1-10/+8
The size of buf[] must account for the string termination needed for the first strict_strtoul() call. Introduced in commit a02d6926. Fábio Olivé Leite points out that strict_strtoul() requires _either_ '\n\0' _or_ '\0' termination, so use the simpler '\0' here instead. See http://bugzilla.kernel.org/show_bug.cgi?id=14546 . Reported-by: [email protected] Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: Fábio Olivé Leite <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
2009-11-13nl80211: only allow adding stations to running vlan interfacesFelix Fietkau1-1/+3
Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: fix broadcast frame handling for 4-addr AP VLANsFelix Fietkau1-1/+1
Without this patch, broadcast frames from the station behind a 4-addr AP VLAN would be reflected back to the source. Fix this by checking the 4-addr flag before bridging multicast frames in the cell. Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13cfg80211: return channel noise via survey APIHolger Schurig1-0/+105
This patch implements the NL80211_CMD_GET_SURVEY command and an get_survey() ops that a driver can implement. The goal of this command is to allow a drivers to report channel survey data (e.g. channel noise, channel occupation). For now, only the mechanism to report back channel noise has been implemented. In future, there will either be a survey-trigger command --- or the existing scan-trigger command will be enhanced. This will allow user-space to request survey for arbitrary channels. Note: any driver that cannot report channel noise should not report any value at all, e.g. made-up -92 dBm. Signed-off-by: Holger Schurig <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13cfg80211: introduce nl80211_get_ifidx()Holger Schurig1-43/+33
... which get's rid of three indentical cut-n-paste sections. Signed-off-by: Holger Schurig <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: update copyrights to 2009Rui Paulo5-5/+5
Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: add nl80211/cfg80211 handling of the new mesh root mode option.Rui Paulo5-0/+29
Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: implement a timer to send RANN action framesRui Paulo4-0/+54
RANN (Root Annoucement) frame TX. Send an action frame every second trying to build a path to all nodes on the mesh. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: replace "destination" with "target" to follow the specRui Paulo7-133/+136
Resulting object files have the same MD5 as before. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: add the DS params to the beaconRui Paulo1-0/+7
Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: fix BSSID setup for beacon framesRui Paulo1-1/+1
BSSID is now set to the TA. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: set the AID field correctly for mesh peer framesRui Paulo1-1/+2
This sets the AID field correctly for mesh peer confirm frames. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: properly forward the RANN IERui Paulo1-1/+3
Increase hopcount and convert metric to LE before forwarding the RANN action frame. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: update PERR frame formatRui Paulo3-13/+60
Update the PERR IE frame format according to latest draft (3.03). Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13mac80211: implement RANN processing and forwardingRui Paulo3-8/+76
Process the RANN (Root Annoucement) Frame and try to find the HWMP root station by sending a PREQ. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-13vlan/macvlan: propagate transmission state to upper layersPatrick McHardy1-2/+2
Both vlan and macvlan devices usually don't use a qdisc and immediately queue packets to the underlying device. Propagate transmission state of the underlying device to the upper layers so they can react on congestion and/or inform the sending process. Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13net: allow to propagate errors through ->ndo_hard_start_xmit()Patrick McHardy2-7/+34
Currently the ->ndo_hard_start_xmit() callbacks are only permitted to return one of the NETDEV_TX codes. This prevents any kind of error propagation for virtual devices, like queue congestion of the underlying device in case of layered devices, or unreachability in case of tunnels. This patches changes the NET_XMIT codes to avoid clashes with the NETDEV_TX codes and changes the two callers of dev_hard_start_xmit() to expect either errno codes, NET_XMIT codes or NETDEV_TX codes as return value. In case of qdisc_restart(), all non NETDEV_TX codes are mapped to NETDEV_TX_OK since no error propagation is possible when using qdiscs. In case of dev_queue_xmit(), the error is propagated upwards. Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13tcp: provide more information on the tcp receive_queue bugsIlpo Järvinen1-7/+12
The addition of rcv_nxt allows to discern whether the skb was out of place or tp->copied. Also catch fancy combination of flags if necessary (sadly we might miss the actual causer flags as it might have already returned). Btw, we perhaps would want to forward copied_seq in somewhere or otherwise we might have some nice loop with WARN stuff within but where to do that safely I don't know at this stage until more is known (but it is not made significantly worse by this patch). Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-13netfilter: nf_log: fix sleeping function called from invalid context in ↵Wu Fengguang1-13/+5
seq_show() [ 171.925285] BUG: sleeping function called from invalid context at kernel/mutex.c:280 [ 171.925296] in_atomic(): 1, irqs_disabled(): 0, pid: 671, name: grep [ 171.925306] 2 locks held by grep/671: [ 171.925312] #0: (&p->lock){+.+.+.}, at: [<c10b8acd>] seq_read+0x25/0x36c [ 171.925340] #1: (rcu_read_lock){.+.+..}, at: [<c1391dac>] seq_start+0x0/0x44 [ 171.925372] Pid: 671, comm: grep Not tainted 2.6.31.6-4-netbook #3 [ 171.925380] Call Trace: [ 171.925398] [<c105104e>] ? __debug_show_held_locks+0x1e/0x20 [ 171.925414] [<c10264ac>] __might_sleep+0xfb/0x102 [ 171.925430] [<c1461521>] mutex_lock_nested+0x1c/0x2ad [ 171.925444] [<c1391c9e>] seq_show+0x74/0x127 [ 171.925456] [<c10b8c5c>] seq_read+0x1b4/0x36c [ 171.925469] [<c10b8aa8>] ? seq_read+0x0/0x36c [ 171.925483] [<c10d5c8e>] proc_reg_read+0x60/0x74 [ 171.925496] [<c10d5c2e>] ? proc_reg_read+0x0/0x74 [ 171.925510] [<c10a4468>] vfs_read+0x87/0x110 [ 171.925523] [<c10a458a>] sys_read+0x3b/0x60 [ 171.925538] [<c1002a49>] syscall_call+0x7/0xb Fix it by replacing RCU with nf_log_mutex. Reported-by: "Yin, Kangkai" <[email protected]> Signed-off-by: Wu Fengguang <[email protected]> Signed-off-by: Patrick McHardy <[email protected]>
2009-11-13netfilter: xt_osf: fix xt_osf_remove_callback() return valueRoel Kluin1-1/+1
Return a negative error value. Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: Patrick McHardy <[email protected]>
2009-11-13ieee802154: make wpan-phy class registration to subsys_initcallDmitry Eremin-Solenikov1-1/+1
Move ieee802154 initialisation to subsys_initcall call, so that wpan-phy class is initialised before all devices (thus saving us from oops during bootup). Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
2009-11-12sysctl net: Remove unused binary sysctl codeEric W. Biederman60-1127/+161
Now that sys_sysctl is a compatiblity wrapper around /proc/sys all sysctl strategy routines, and all ctl_name and strategy entries in the sysctl tables are unused, and can be revmoed. In addition neigh_sysctl_register has been modified to no longer take a strategy argument and it's callers have been modified not to pass one. Cc: "David Miller" <[email protected]> Cc: Hideaki YOSHIFUJI <[email protected]> Cc: [email protected] Signed-off-by: Eric W. Biederman <[email protected]>
2009-11-11net/atm: move all compat_ioctl handling to atm/ioctl.cArnd Bergmann2-220/+175
We have two implementations of the compat_ioctl handling for ATM, the one that we have had for ages in fs/compat_ioctl.c and the one added to net/atm/ioctl.c by David Woodhouse. Unfortunately, both versions are incomplete, and in practice we use a very confusing combination of the two. For ioctl numbers that have the same identifier on 32 and 64 bit systems, we go directly through the compat_ioctl socket operation, for those that differ, we do a conversion in fs/compat_ioctl.c. This patch moves both variants into the vcc_compat_ioctl() function, while preserving the current behaviour. It also kills off the COMPATIBLE_IOCTL definitions that we never use here. Doing it this way is clearly not a good solution, but I hope it is a step into the right direction, so that someone is able to clean up this mess for real. Signed-off-by: Arnd Bergmann <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: David Woodhouse <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-11net/compat: fix dev_ifsioc emulation corner casesArnd Bergmann1-45/+72
Handling for SIOCSHWTSTAMP is broken on architectures with a split user/kernel address space like s390, because it passes a real user pointer while using set_fs(KERNEL_DS). A similar problem might arise the next time somebody adds code to dev_ifsioc. Split up dev_ifsioc into three separate functions for SIOCSHWTSTAMP, SIOC*IFMAP and all other numbers so we can get rid of set_fs in all potentially affected cases. Signed-off-by: Arnd Bergmann <[email protected]> Cc: Patrick Ohly <[email protected]> Cc: David S. Miller <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-11decnet: convert dndev_lock to spinlockstephen hemminger1-7/+12
There is no reason for this lock to be reader/writer since the reader only has lock held for a very brief period. The overhead of read_lock is more expensive than spinlock. Compile tested only, I am not a decnet user. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-11decnet: add RTNL lock when reading address liststephen hemminger1-0/+4
Add missing locking in the case of auto binding to the default device. The address list might change while this code is looking at the list. Compile tested only, I am not a decnet user. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-11netdev: fold name hash properly (v3)stephen hemminger1-1/+2
The full_name_hash function does not produce well distributed values in the lower bits, so most code uses hash_32() to fold it. This is really a bug introduced when name hashing was added, back in 2.5 when I added name hashing. hash_32 is all that is needed since full_name_hash returns unsigned int which is only 32 bits on 64 bit platforms. Also, there is no point in using hash_32 on ifindex, because the is naturally sequential and usually well distributed. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-11skbuff: Do not allow skb recycling with disabled IRQsAnton Vorontsov1-0/+3
NAPI drivers try to recycle SKBs in their polling routine, but we generally don't know the context in which the polling will be called, and the skb recycling itself may require IRQs to be enabled. This patch adds irqs_disabled() test to the skb_recycle_check() routine, so that we'll not let the drivers hit the skb recycling path with IRQs disabled. As a side effect, this patch actually disables skb recycling for some [broken] drivers. E.g. gianfar driver grabs an irqsave spinlock during TX ring processing, and then tries to recycle an skb, and that caused the following badness: nf_conntrack version 0.5.0 (1008 buckets, 4032 max) ------------[ cut here ]------------ Badness at kernel/softirq.c:143 NIP: c003e3c4 LR: c423a528 CTR: c003e344 ... NIP [c003e3c4] local_bh_enable+0x80/0xc4 LR [c423a528] destroy_conntrack+0xd4/0x13c [nf_conntrack] Call Trace: [c15d1b60] [c003e32c] local_bh_disable+0x1c/0x34 (unreliable) [c15d1b70] [c423a528] destroy_conntrack+0xd4/0x13c [nf_conntrack] [c15d1b80] [c02c6370] nf_conntrack_destroy+0x3c/0x70 Signed-off-by: David S. Miller <[email protected]>
2009-11-11ipv6: Remove unused var in inet6_dump_ifinfo()David S. Miller1-1/+1
Reported by Stephen Rothwell: -------------------- Today's linux-next build (x86_64 allmodconfig) produced this warning: net/ipv6/addrconf.c: In function 'inet6_dump_ifinfo': net/ipv6/addrconf.c:3833: warning: unused variable 'err' Introduced by commit 84d2697d9649339215675551eae28ba04068dea1 ("ipv6: speedup inet6_dump_ifinfo()"). -------------------- Signed-off-by: David S. Miller <[email protected]>
2009-11-11mac80211: fix max HT rate processing on mac80211Luis R. Rodriguez1-3/+15
The max MCS index is 76, fix the higher check to allow through frames received at MCS 76. This is a non-issue for current drivers as MCS 76 is only possible with a device supporting 4 spatial streams. While at it change the WARN_ON() on invalid HT rates to a WARN() to provide more useful information. This will help debug issues when the driver is passing up a bogus HT rate value. The rate must map to a valid MCS index which can be any of the values in the set [0 - 76] (inclusive). Signed-off-by: Luis R. Rodriguez <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: implement support for 4-address frames for AP and client modeFelix Fietkau7-12/+99
In some situations it might be useful to run a network with an Access Point and multiple clients, but with each client bridged to a network behind it. For this to work, both the client and the AP need to transmit 4-address frames, containing both source and destination MAC addresses. With this patch, you can configure a client to communicate using only 4-address frames for data traffic. On the AP side you can enable 4-address frames for individual clients by isolating them in separate AP VLANs which are configured in 4-address mode. Such an AP VLAN will be limited to one client only, and this client will be used as the destination for all traffic on its interface, regardless of the destination MAC address in the packet headers. The advantage of this mode compared to regular WDS mode is that it's easier to configure and does not require a static list of peer MAC addresses on any side. Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11nl80211: add a parameter for using 4-address frames on virtual interfacesFelix Fietkau1-0/+11
Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: improve peer link management debuggingRui Paulo1-2/+13
Print the FSM state strings instead of just the numbers. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: improve HWMP debuggingRui Paulo1-6/+5
Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: allow processing of more than one HWMP IERui Paulo1-22/+25
Since the HWMP IEs are now all optional and the action code is fixed, allow the HWMP code to find and process each IE on the path selection action frames. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: add MAC80211_VERBOSE_MHWMP_DEBUGRui Paulo2-4/+28
Add MAC80211_VERBOSE_MHWMP_DEBUG, a debugging option for HWMP frame processing. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: update the format of path selection framesRui Paulo2-1/+2
Update the format of path selection frames according to latest draft (3.03). Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: update peer link management IE and action framesRui Paulo4-18/+20
Update the length and format of the peer link management action frames. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: fix typo in a commentRui Paulo1-1/+1
Signed-off-by: Javier Cardona <[email protected]> Signed-off-by: Rui Paulo <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: implement the meshconf formation info fieldRui Paulo2-3/+8
The Mesh Configuration Formation Info field contains the number of neighbors. This means that the beacon must be updated every time a peer joins or leaves. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: set MESH_TTL to 31Rui Paulo1-1/+1
Update the mesh time to live field to 31 according to draft 3.03. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-11mac80211: update meshconf IERui Paulo2-45/+34
This updates the Mesh Configuration IE according to the latest draft (3.03). Notable changes include the simplified protocol IDs. Signed-off-by: Rui Paulo <[email protected]> Signed-off-by: Javier Cardona <[email protected]> Reviewed-by: Andrey Yurovsky <[email protected]> Tested-by: Brian Cavagnolo <[email protected]> Signed-off-by: John W. Linville <[email protected]>
2009-11-10CAN: use dev_get_by_index_rcustephen hemminger1-3/+3
Use new function to avoid doing read_lock(). Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: Oliver Hartkopp <[email protected]> Signed-off-by: David S. Miller <[email protected]>
2009-11-10IPV4: use rcu to walk list of devices in IGMPstephen hemminger1-8/+10
This also needs to be optimized for large number of devices. Signed-off-by: Stephen Hemminger <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>