07 Mar, 2008
3 commits
-
This patch eliminates warnings about undeclared symbols.
Signed-off-by: Allan Stephens
Signed-off-by: David S. Miller -
This patch validates that the "how" argument to shutdown()
is SHUT_RDWR, since this is the only form that TIPC supports.Signed-off-by: Allan Stephens
Signed-off-by: David S. Miller -
This patch removes code associated with optional, user-specified
fields of the TIPC message header. Such fields were never
utilized by TIPC, and have now been removed from the protocol
specification.Signed-off-by: Allan Stephens
Signed-off-by: David S. Miller
06 Mar, 2008
15 commits
-
Introduced by changeset 95e41e93e18d8e1e272ce23d96bae4f17ce11d42
("[IPV6]: Make ndisc_flow_init() common for later use.")Reported by Stephen Rothwell.
In file included from net/ipv6/netfilter/ip6_tables.c:21:
include/linux/icmpv6.h:192: warning: 'struct in6_addr' declared inside parameter list
include/linux/icmpv6.h:192: warning: its scope is only this definition or declaration, which is probably not what you wantSigned-off-by: David S. Miller
-
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison
Signed-off-by: David S. Miller -
COSA/SRP driver: The semaphore channel_data.rsem is used as a mutex,
convert it to the mutex APISigned-off-by: Matthias Kaehlcke
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller -
(Anonymous) unions can help us to avoid ugly casts.
A common cast it the (struct rtable *)skb->dst one.
Defining an union like :
union {
struct dst_entry *dst;
struct rtable *rtable;
};
permits to use skb->rtable in place.Signed-off-by: Eric Dumazet
Signed-off-by: David S. Miller -
Remove commented lines from netns patchset.
Signed-off-by: Daniel Lezcano
Signed-off-by: David S. Miller -
Conflicts:
net/mac80211/rc80211_pid_algo.c
-
This patch make the changes necessary to support network namespaces in
ICMPv6.Signed-off-by: Benjamin Thery
Signed-off-by: Daniel Lezcano
Signed-off-by: David S. Miller -
The different subsystem of ipv6 are ready for namespaces, so let's
activate it for ipv6_rcv.Signed-off-by: Daniel Lezcano
Signed-off-by: Benjamin Thery
Signed-off-by: David S. Miller -
The ip6_dst_lookup receive a socket as parameter. In some part of the code
it is called with a NULL socket parameter. We want to rely on the socket
to retrieve the network namespace, so we always pass a valid socket in all
cases.Signed-off-by: Daniel Lezcano
Signed-off-by: Benjamin Thery
Signed-off-by: David S. Miller -
Add an netns parameter to ip6_route_output. That will allow to access
to the right routing table for outgoing traffic.Signed-off-by: Daniel Lezcano
Signed-off-by: Benjamin Thery
Signed-off-by: David S. Miller -
All the infrastructure to propagate the network namespace information
is ready. Make use of it.There is a special case here between the initial network namespace and
the other namespaces:* When ipv6 is initialized at boot time (aka in the init_net), it
registers to the notifier callback. So addrconf_notify will be called
as many time as there are network devices setup on the system and the
function will add ipv6 addresses to the network devices. But the first
device which needs to have its ipv6 address setup is the loopback,
unfortunatly this is not the case. So the loopback address is setup
manually in the ipv6 init function.* With the network namespace, this ordering problem does not appears
because notifier is already setup and active, so as soon as we
register the loopback the ipv6 address is setup and it will be the
first device.Signed-off-by: Benjamin Thery
Signed-off-by: Daniel Lezcano
Signed-off-by: David S. Miller -
This patch propagates the network namespace pointer to the address
configuration routines which need it, which means adding a new
parameter to these functions, and make them use it instead of using
the initial network namespace.Signed-off-by: Daniel Lezcano
Signed-off-by: Benjamin Thery
Signed-off-by: David S. Miller -
This patchset avoids creation of the /proc entry for snmp6 when
the call is made from a network namespace different from the init_net.Signed-off-by: Daniel Lezcano
Signed-off-by: David S. Miller -
Allow creation of IPv6 raw and datagram sockets in network namespaces
other than init_net.Signed-off-by: Benjamin Thery
Signed-off-by: Daniel Lezcano
Signed-off-by: David S. Miller -
This patch moves initialization of IPv6 sysctl stuff at the end of
IPv6 initialization.This will be helpful for network namespaces where some sysctl entries
depend on per-namespace variables, that need to be allocated and
initialized before they are referenced by sysctl.Signed-off-by: Benjamin Thery
Signed-off-by: Daniel Lezcano
Signed-off-by: David S. Miller
05 Mar, 2008
22 commits
-
Make the needlessly global init_tti() static.
Signed-off-by: Adrian Bunk
Acked-by: "Ramkrishna Vepa"
Signed-off-by: Andrew Morton
Signed-off-by: Jeff Garzik -
This patch fixes the following build error introduced by commit
a79d8e93d300adb84cccc38ac396cfb118c238ad and reported by Olaf Hering:...
LD .tmp_vmlinux1
arch/powerpc/sysdev/built-in.o: In function `of_add_fixed_phys':
fsl_soc.c:(.init.text+0xd34): undefined reference to `fixed_phy_add'
make: *** [.tmp_vmlinux1] Error 1Signed-off-by: Adrian Bunk
Signed-off-by: Jeff Garzik -
This patch fixes the following build error:
...
CC [M] drivers/net/atarilance.o
{standard input}: Assembler messages:
{standard input}:406: Error: symbol `Lberr' is already defined
{standard input}:460: Error: symbol `Lberr' is already defined
make[3]: *** [drivers/net/atarilance.o] Error 1Signed-off-by: Adrian Bunk
Signed-off-by: Jeff Garzik -
Another team member unfortunately left: update MAINTAINERS.
Condense the 3 lists down to a single list for all our drivers.
Point to our new sourceforge index page which is slightly
better navigateable than the sf.net project page.Signed-off-by: Auke Kok
Signed-off-by: Jeff Garzik -
Signed-off-by: Emil Tantilov
Signed-off-by: Auke Kok
Signed-off-by: Jeff Garzik -
This fixes a "trying to free already free IRQ" message and simplifies
the shutdown/suspend code by re-using already existing code when going
to suspend. The code is now symmetric with e100_resume.Signed-off-by: Auke Kok
Signed-off-by: Jeff Garzik -
Fixed Kconfig: ehea driver requires sparse mem
Signed-off-by: Thomas Klein
Signed-off-by: Jeff Garzik -
This message is frequently displayed even if normal file-transfer.
Signed-off-by: Komuro
Signed-off-by: Jeff Garzik -
The mv643xx_eth driver can be loaded as a platform device, as is done by
various Orion (ARM) based devices. The driver needs to define a module
alias for the platform driver so udev will load it automatically.
Tested with Debian on a QNAP TS-209.Signed-off-by: Martin Michlmayr
Signed-off-by: Jeff Garzik -
When the chip dies (probably because of a bug somewhere in the driver),
de_stop_rxtx() fails and changing the media type crashes the whole machine.
Replace BUG_ON() in de_set_media() with a warning.Signed-off-by: Ondrej Zary
Signed-off-by: Jeff Garzik -
Signed-off-by: Frederic Rodo
Signed-off-by: Jeff Garzik -
From: Stephen Hemminger
Based upon a patch by Marcel Wappler:
This patch fixes a DHCP issue of the kernel: some DHCP servers
(i.e. in the Linksys WRT54Gv5) are very strict about the contents
of the DHCPDISCOVER packet they receive from clients.Table 5 in RFC2131 page 36 requests the fields 'ciaddr' and
'siaddr' MUST be set to '0'. These DHCP servers ignore Linux
kernel's DHCP discovery packets with these two fields set to
'255.255.255.255' (in contrast to popular DHCP clients, such as
'dhclient' or 'udhcpc'). This leads to a not booting system.Signed-off-by: David S. Miller
-
This fixes the module init message to tell that the legacy
driver loaded. This makes it less confusing, in case both drivers are loaded.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
Replace broken code that attempted to copy 6 byte array to 64-bit
integer. Due to missing cast to 64-bit integer, left shift operation
were 32-bit and lead to bytes been copied over each other. New code
uses simple memcpy, for greater readability and efficiency.Signed-off-by: Jussi Kivilinna
Signed-off-by: John W. Linville -
instead of with itself.
Signed-off-by: Sebastian Siewior
Signed-off-by: John W. Linville -
Slightly more useful if we compare it against the sequence number of the
command we have outstanding, rather than comparing the reply with itself.Doh. Pointed out by Sebastian Siewior
Signed-off-by: David Woodhouse
Acked-by: Dan Williams
Signed-off-by: John W. Linville -
When I called p54_parse_eeprom() on a hand-coded structure
I managed to make a small mistake with wrap->len which caused
a segfault a few lines down when trying to read entry->len.
This patch changes the validation code to avoid such problems.Signed-off-by: Johannes Berg
Tested-by: Florian Fainelli
Signed-off-by: John W. Linville -
Since the EEPROM structure is read from hardware, it is
always little endian, annotate that in the struct and
make sure to convert where applicable.Signed-off-by: Johannes Berg
Cc: Michael Wu
Tested-by: Florian Fainelli
Signed-off-by: John W. Linville -
This patch has added pcibios_enable_device() return value check.
Signed-off-by: Yoichi Yuasa
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
Merge rate_control_pid_shift_adjust() to rate_control_pid_adjust_rate()
in order to make the learning algorithm aware of constraints on rates. Also
add some comments and rename variables.This fixes a bug which prevented 802.11b/g non-AP STAs from working with
802.11b only AP STAs.This patch was originally destined for 2.6.26, and is being backported
to fix a user reported problem in post-2.6.24 kernels.Signed-off-by: Stefano Brivio
Signed-off-by: John W. Linville -
Now the ESP uses the AEAD interface even for algorithms which are
not combined mode, we need to select CONFIG_CRYPTO_AUTHENC as
otherwise only combined mode algorithms will work.Signed-off-by: Herbert Xu
Signed-off-by: David S. Miller