On 08/26/2014 07:35 AM, David Miller wrote:
As reported by Jesper Dangaard Brouer, for high packet rates the
overhead of having another indirect call in the TX path is
non-trivial.
There is the indirect call itself, and then there is all of the
reloading of the state to refetch the tail pointer
On Mon, Aug 31, 2015 at 9:12 PM, Tom Herbert wrote:
> On Mon, Aug 31, 2015 at 3:55 PM, Pravin B Shelar wrote:
>> VXLAN device can receive skb with checksum partial. But the checksum
>> offset could be in outer header which is pulled on receive. Such skb
>> can cause the panic when checksum is cal
From: Pravin B Shelar
Date: Mon, 31 Aug 2015 20:05:57 -0700
> opts_size is only written and never read. Following patch
> removes this unused variable.
>
> Signed-off-by: Pravin B Shelar
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a mess
From: Marius Tomaschewski
Date: Tue, 1 Sep 2015 01:57:30 +0200
> Signed-off-by: Marius Tomaschewski
Applied, thanks.
I wonder what to do about the situations right before the first
assignment of send_ifinfo_notify to true where the dst_neigh_lookup()
fails.
Since we updated if_flags, we proba
On Mon, Aug 31, 2015 at 3:55 PM, Pravin B Shelar wrote:
> VXLAN device can receive skb with checksum partial. But the checksum
> offset could be in outer header which is pulled on receive. Such skb
> can cause the panic when checksum is calculated on skb. Following patch
> fixes the bug by setting
On Mon, Aug 31, 2015 at 8:25 PM, Pravin Shelar wrote:
> On Mon, Aug 31, 2015 at 4:44 PM, Tom Herbert wrote:
>> On Mon, Aug 31, 2015 at 3:55 PM, Pravin B Shelar wrote:
>>> VXLAN device can receive skb with checksum partial. But the checksum
>>> offset could be in outer header which is pulled on r
On Mon, Aug 31, 2015 at 6:40 PM, Alexei Starovoitov
wrote:
> On Mon, Aug 31, 2015 at 03:55:46PM -0700, Pravin B Shelar wrote:
>> VXLAN device can receive skb with checksum partial. But the checksum
>> offset could be in outer header which is pulled on receive. Such skb
>> can cause the panic when
On Mon, Aug 31, 2015 at 4:44 PM, Tom Herbert wrote:
> On Mon, Aug 31, 2015 at 3:55 PM, Pravin B Shelar wrote:
>> VXLAN device can receive skb with checksum partial. But the checksum
>> offset could be in outer header which is pulled on receive. Such skb
>> can cause the panic when checksum is cal
opts_size is only written and never read. Following patch
removes this unused variable.
Signed-off-by: Pravin B Shelar
---
include/net/dst_metadata.h |1 -
net/core/dst.c |1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/net/dst_metadata.h b/include
On Mon, Aug 31, 2015 at 03:55:46PM -0700, Pravin B Shelar wrote:
> VXLAN device can receive skb with checksum partial. But the checksum
> offset could be in outer header which is pulled on receive. Such skb
> can cause the panic when checksum is calculated on skb. Following patch
> fixes the bug by
On Tue, 2015-09-01 at 00:12 +0200, Ondrej Zary wrote:
>
> On Monday 31 August 2015 22:44:54 Dan Williams wrote:
> > On Mon, 2015-08-31 at 21:19 +0200, Ondrej Zary wrote:
> > > Handle IW_AUTH_ALG_OPEN_SYSTEM in set_auth.
> > > This allows wpa_supplicant (and thus NetworkManager) to work with open
>
Signed-off-by: Marius Tomaschewski
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index 99ea9dd..8456c75 100644
--- a/net/ipv6/ndisc.c
+++ b/net/ipv6/ndisc.c
@@ -1075,6 +1075,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
int optlen;
unsigned int pref = 0;
On 08/31/2015 01:44 PM, Xin Long wrote:
> for telecom center, the usual case is that a server is connected by thousands
> of clients. but if the server with only one enpoint(udp style) use the same
> sport and dport to communicate with every clients, and every assoc in server
> will be hashed in th
From: Marius Tomaschewski
Date: Tue, 1 Sep 2015 01:43:39 +0200
> I've attached a follow-up patch doing this. Please let me know if you
> need it in a separate mail.
I want it in a separate mail, and please use "bool" for the type.
--
To unsubscribe from this list: send the line "unsubscribe netd
On Mon, Aug 31, 2015 at 3:55 PM, Pravin B Shelar wrote:
> VXLAN device can receive skb with checksum partial. But the checksum
> offset could be in outer header which is pulled on receive. Such skb
> can cause the panic when checksum is calculated on skb. Following patch
> fixes the bug by setting
Am 01.09.2015 um 00:13 schrieb David Miller:
> From: Marius Tomaschewski
> Date: Mon, 31 Aug 2015 15:59:22 +0200
>
>> The kernel is applying the RA managed/otherconf flags silently and
>> forgets to send ifinfo notify to inform about their change when the
>> router provides a zero reachable_time
Regular release of iproute2 for Linux 4.2
Update to iproute2 utility to support new features in Linux 4.2.
Lots of work went into extending ss and bpf. Also some nicer
formatting in ip commands with brief mode.
Source:
http://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-4.2.0.tar.gz
Re
On Mon, 31 Aug 2015 18:48:46 +0900
Toshiaki Makita wrote:
> This patch adds support for bridge vlan_protocol.
>
> Example:
> $ ip link set br0 type bridge vlan_protocol 802.1ad
> $ ip -d link show br0
> 4: br0: mtu 1500 qdisc noqueue state
> UP mode DEFAULT group default qlen 1000
> link/et
On Sat, 29 Aug 2015 18:36:32 +
Konstantin Shemyak wrote:
> * "vti" and "vti6" tunnel modes added to ip-tunnel.8 manual page
> * Added "hoplimit" terminology for IPv6
> * Corrected usage line
> * Minor language fix
> ---
> man/man8/ip-tunnel.8 | 24
> 1 file changed,
On Fri, 28 Aug 2015 17:45:41 +
Andy Gospodarek wrote:
> This adds support for slightly less output than is normally provided by
> 'ip link show' and 'ip addr show'. This is a bit better when you have a
> host with lots of interfaces. Sample output:
>
> $ ip -br link show
> lo
On Wed, 26 Aug 2015 11:59:17 -0400
Mike Saal wrote:
> Hi:
>
> I found a formatting bug in the 4.1.1 ss command. The following line was
> incorrectly output due to passing a negative length to printf() when
> displaying the local address. In this instance hostapd does a "bind to
> device" on c
On Mon, 2015-08-31 at 12:48 -0700, Rick Jones wrote:
> On 08/29/2015 10:59 PM, Raghavendra K T wrote:
> > Please note that similar overhead was also reported while creating
> > veth pairs https://lkml.org/lkml/2013/3/19/556
>
>
> That got me curious, so I took the veth pair creation script fro
VXLAN device can receive skb with checksum partial. But the checksum
offset could be in outer header which is pulled on receive. Such skb
can cause the panic when checksum is calculated on skb. Following patch
fixes the bug by setting checksum unnecessary while pulling outer header.
---8<---
[ 13.
On 2015-08-17 4:51 PM, Uwe Koziolek wrote:
On Mon, Aug 17, 2015 at 09:14PM +0200, Jay Vosburgh wrote:
Uwe Koziolek wrote:
On2015-08-17 07:12 PM,Jarod Wilson wrote:
...
Uwe, can you perhaps further enlighten us as to what num_grat_arp
settings were tried that didn't help? I'm still of the mi
From: Eric Dumazet
Date: Mon, 31 Aug 2015 13:57:34 -0700
> From: Eric Dumazet
>
> As David pointed out, spinlock are no longer needed
> to protect the per cpu queues used in gro cells infrastructure.
>
> Also use new napi_complete_done() API so that gro_flush_timeout
> tweaks have an effect.
>
From: David Ward
Date: Mon, 31 Aug 2015 14:15:14 -0400
> Other Sierra Wireless MC73xx devices exist, with different USB IDs.
>
> Cc: Bjørn Mork
> Signed-off-by: David Ward
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.
From: Xin Long
Date: Tue, 1 Sep 2015 01:44:28 +0800
> @@ -524,18 +524,16 @@ static inline int sctp_assoc_hashfn(struct net *net,
> __u16 lport, __u16 rport)
> {
> int h = (lport << 16) + rport + net_hash_mix(net);
> h ^= h>>8;
> - return h & (sctp_assoc_hashsize - 1);
> + r
On Monday 31 August 2015 22:44:54 Dan Williams wrote:
> On Mon, 2015-08-31 at 21:19 +0200, Ondrej Zary wrote:
> > Handle IW_AUTH_ALG_OPEN_SYSTEM in set_auth.
> > This allows wpa_supplicant (and thus NetworkManager) to work with open
> > APs.
> >
> > Signed-off-by: Ondrej Zary
> > ---
> > driver
From: Marius Tomaschewski
Date: Mon, 31 Aug 2015 15:59:22 +0200
> The kernel is applying the RA managed/otherconf flags silently and
> forgets to send ifinfo notify to inform about their change when the
> router provides a zero reachable_time and retrans_timer as dnsmasq
> and many routers send i
From: Andrew Lunn
Date: Mon, 31 Aug 2015 15:56:45 +0200
> This patchset allows various switch port settings to be configured and
> port status to be sampled. Some of these patches have been posted
> before.
>
> The first three patches provide infrastructure for configuring a
> switch ports link
On 08/31/2015 02:29 PM, David Ahern wrote:
On 8/31/15 1:48 PM, Rick Jones wrote:
My attempts to get a call-graph have been met with very limited success.
Even though I've installed the dbg package from "make deb-pkg" the
symbol resolution doesn't seem to be working.
Looks like Debian does no
On 8/31/15 1:48 PM, Rick Jones wrote:
My attempts to get a call-graph have been met with very limited success.
Even though I've installed the dbg package from "make deb-pkg" the
symbol resolution doesn't seem to be working.
Looks like Debian does not enable framepointers by default:
$ grep F
From: Dave Hansen
I have a .config with CONFIG_PM disabled. I get the following whenever
compiling the e1000 driver:
...net/ethernet/intel/e1000e/netdev.c:6450:13: warning:
'e1000e_disable_aspm_locked' defined but not used [-Wunused-function]
static void e1000e_disable_aspm_locked(struct pci
From: Eric Dumazet
As David pointed out, spinlock are no longer needed
to protect the per cpu queues used in gro cells infrastructure.
Also use new napi_complete_done() API so that gro_flush_timeout
tweaks have an effect.
Signed-off-by: Eric Dumazet
---
include/net/gro_cells.h | 18 +---
On Mon, 2015-08-31 at 21:19 +0200, Ondrej Zary wrote:
> Handle IW_AUTH_ALG_OPEN_SYSTEM in set_auth.
> This allows wpa_supplicant (and thus NetworkManager) to work with open APs.
>
> Signed-off-by: Ondrej Zary
> ---
> drivers/net/wireless/airo.c |7 +++
> 1 file changed, 3 insertions(+),
On 8/31/15 1:44 PM, David Miller wrote:
From: David Ahern
Date: Mon, 31 Aug 2015 09:29:40 -0700
Remove the VRF change in udp_sendmsg to set the source address. The VRF
driver already has access to the packet on the TX path via the dst. It
can be used to update the source address in the header.
On 08/29/2015 10:59 PM, Raghavendra K T wrote:
> Please note that similar overhead was also reported while creating
> veth pairs https://lkml.org/lkml/2013/3/19/556
That got me curious, so I took the veth pair creation script from there,
and started running it out to 10K pairs, comparing a 3.1
From: Nikolay Aleksandrov
Date: Mon, 31 Aug 2015 10:44:19 -0700
> From: Nikolay Aleksandrov
>
> Fix a memory leak in the mpls netns init function in case of failure. If
> register_net_sysctl fails then we need to free the ctl_table.
>
> Fixes: 7720c01f3f59 ("mpls: Add a sysctl to control the s
From: David Ahern
Date: Mon, 31 Aug 2015 09:29:40 -0700
> Remove the VRF change in udp_sendmsg to set the source address. The VRF
> driver already has access to the packet on the TX path via the dst. It
> can be used to update the source address in the header.
>
> Update function based on OVS.
>
On 08/31/2015 12:36 PM, David Miller wrote:
From: Alexei Starovoitov
Date: Mon, 31 Aug 2015 08:57:10 -0700
To fix build errors:
kernel/built-in.o: In function `bpf_trace_printk':
bpf_trace.c:(.text+0x11a254): undefined reference to `strncpy_from_unsafe'
kernel/built-in.o: In function `fetch_me
From: David Ahern
Date: Mon, 31 Aug 2015 09:57:12 -0600
> TOS is another key aspect of the lookup passed to fib_validate_source.
> Add it to the tracepoint.
>
> Signed-off-by: David Ahern
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
From: Alexei Starovoitov
Date: Mon, 31 Aug 2015 08:57:10 -0700
> To fix build errors:
> kernel/built-in.o: In function `bpf_trace_printk':
> bpf_trace.c:(.text+0x11a254): undefined reference to `strncpy_from_unsafe'
> kernel/built-in.o: In function `fetch_memory_string':
> trace_kprobe.c:(.text+0
From: Daniel Borkmann
Date: Mon, 31 Aug 2015 15:58:43 +0200
> Original cover letter:
>
> Currently, the following case doesn't use DCTCP, even if it should:
>
> - responder has f.e. cubic as system wide default
> - 'ip route congctl dctcp $src' was set
>
> Then, DCTCP is NOT used i
From: Philip Downey
Date: Mon, 31 Aug 2015 11:30:38 +0100
> Document the addition of a new sysctl variable which controls the
> generation of IGMP reports for link local multicast groups in the
> 224.0.0.X range.
>
> IGMP reports for local multicast groups can now be optionally
> inhibited by se
From: Pravin B Shelar
Date: Sun, 30 Aug 2015 18:09:38 -0700
> Currently tun-info options pointer is used in few cases to
> pass options around. But tunnel options can be accessed using
> ip_tunnel_info_opts() API without using the pointer. Following
> patch removes the redundant pointer and consi
Add calls to netif_carrier_on and netif_carrier_off
Signed-off-by: Ondrej Zary
---
drivers/net/wireless/airo.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
index 2066a1f..1a9ddcd 100644
--- a/drivers/net/wir
Handle IW_AUTH_ALG_OPEN_SYSTEM in set_auth.
This allows wpa_supplicant (and thus NetworkManager) to work with open APs.
Signed-off-by: Ondrej Zary
---
drivers/net/wireless/airo.c |7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/airo.c b/drivers/n
> diff --git a/lib/json_writer.c b/lib/json_writer.c
> index 2af16e1..495ce57 100644
> --- a/lib/json_writer.c
> +++ b/lib/json_writer.c
> @@ -22,6 +22,8 @@
>
> #include "json_writer.h"
>
> +#define notused
> +
Gack. Just take out the #ifdef
> struct json_writer {
> FILE*
On Sun, Aug 30, 2015 at 6:09 PM, Pravin B Shelar wrote:
> Currently tun-info options pointer is used in few cases to
> pass options around. But tunnel options can be accessed using
> ip_tunnel_info_opts() API without using the pointer. Following
> patch removes the redundant pointer and consistent
From: Madalin Bucur
Date: Mon, 31 Aug 2015 15:46:07 +0300
> Address remaining issue after 80ec192.
>
> Signed-off-by: Madalin Bucur
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
Other Sierra Wireless MC73xx devices exist, with different USB IDs.
Cc: Bjørn Mork
Signed-off-by: David Ward
---
drivers/net/usb/qmi_wwan.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 64a60af..7621b68
On 31/08/15 05:25, Madalin-Cristian Bucur wrote:
>> -Original Message-
>> From: netdev-ow...@vger.kernel.org [mailto:netdev-
>> Subject: Re: [net-next:master 1512/1524] net/ipv4/af_inet.c:1486:26: error:
>> 'offt' undeclared
>>
>> From: kbuild test robot
>> Date: Mon, 31 Aug 2015 13:06:10
that patch is actually meant for net-next, need to state.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
I was able to reproduce it last night with 2.6.32 on Centos 6.3 so it
does not seem confined to just the 3.X tree. I think this is
something that's been lurking in the kernel for years and just has a
hard time showing up. Bugs that go away on their own come back on
their own.
I got a trace of t
On Mon, Aug 31, 2015 at 10:40 AM, David Ahern wrote:
> Hi Tom:
>
> On 8/31/15 11:22 AM, Tom Herbert wrote:
>>
>> It's a major departure from current convention. The source address of
>> the packet should be set before doing ip_send_skb. In UDP unconnected
>> case ip_route_output_flow calls inet_se
On 8/31/15 11:22 AM, Tom Herbert wrote:
It's a major departure from current convention. The source address of
the packet should be set before doing ip_send_skb. In UDP unconnected
case ip_route_output_flow calls inet_select_addr. AKAIK there is no
provision for not setting the source address and
attachment is the test script above-mentioned.
sctperf.tar.gz
Description: GNU Zip compressed data
The mwifiex_dbg macro has two tests that could be consolidated
into a function reducing overall object size ~10KB (~4%).
So convert the macro into a function.
$ size drivers/net/wireless/mwifiex/built-in.o* (x86-64 defconfig)
textdata bss dec hex filename
2331028628480
for telecom center, the usual case is that a server is connected by thousands
of clients. but if the server with only one enpoint(udp style) use the same
sport and dport to communicate with every clients, and every assoc in server
will be hashed in the same chain of global assoc hashtable due to cu
From: Nikolay Aleksandrov
Fix a memory leak in the mpls netns init function in case of failure. If
register_net_sysctl fails then we need to free the ctl_table.
Fixes: 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label
table")
Signed-off-by: Nikolay Aleksandrov
---
net/mp
Hi Tom:
On 8/31/15 11:22 AM, Tom Herbert wrote:
It's a major departure from current convention. The source address of
the packet should be set before doing ip_send_skb. In UDP unconnected
case ip_route_output_flow calls inet_select_addr. AKAIK there is no
provision for not setting the source add
On Mon, Aug 31, 2015 at 10:05 AM, David Ahern wrote:
> On 8/31/15 11:02 AM, Tom Herbert wrote:
>>
>> On Mon, Aug 31, 2015 at 9:29 AM, David Ahern
>> wrote:
>>>
>>> Remove the VRF change in udp_sendmsg to set the source address. The VRF
>>> driver already has access to the packet on the TX path vi
On 8/31/15 11:02 AM, Tom Herbert wrote:
On Mon, Aug 31, 2015 at 9:29 AM, David Ahern wrote:
Remove the VRF change in udp_sendmsg to set the source address. The VRF
driver already has access to the packet on the TX path via the dst. It
can be used to update the source address in the header.
I
Hello.
On 08/31/2015 05:03 PM, Grygorii Strashko wrote:
The interrupt handler may not be available when smsc911x probes if the
interrupt handler is a GPIO controller for example. Let's fix that
by adding handling for -EPROBE_DEFER.
Cc: Steve Glendinning
Signed-off-by: Tony Lindgren
---
On Mon, Aug 31, 2015 at 9:29 AM, David Ahern wrote:
> Remove the VRF change in udp_sendmsg to set the source address. The VRF
> driver already has access to the packet on the TX path via the dst. It
> can be used to update the source address in the header.
>
I don't understand this. The previous
(Cc'ing netdev)
On Sat, Aug 29, 2015 at 3:50 PM, Jeffrey Merkey wrote:
> When installing Centos 7 running kernel 3.1 (Centos 7 distro) the
> system generates an igmp broadcast storm which locks up and knocks
> down a Century Link DSL router. Powering the router off clears the
> broadcast storm.
Remove the VRF change in udp_sendmsg to set the source address. The VRF
driver already has access to the packet on the TX path via the dst. It
can be used to update the source address in the header.
Update function based on OVS.
Cc: Tom Herbert
Signed-off-by: David Ahern
---
drivers/net/vrf.c
TOS is another key aspect of the lookup passed to fib_validate_source.
Add it to the tracepoint.
Signed-off-by: David Ahern
---
include/trace/events/fib.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/trace/events/fib.h b/include/trace/events/fib.h
index 4030f
To fix build errors:
kernel/built-in.o: In function `bpf_trace_printk':
bpf_trace.c:(.text+0x11a254): undefined reference to `strncpy_from_unsafe'
kernel/built-in.o: In function `fetch_memory_string':
trace_kprobe.c:(.text+0x11acf8): undefined reference to `strncpy_from_unsafe'
move strncpy_from_u
31.08.2015 16:56, Andrew Lunn пишет:
> Changes since v1:
>
> Rewrite 9/9 so that it hopefully does not regression on
> 868a4215be9a6d80 ("net: phy: fixed_phy: handle link-down case")
>
> Stas, please could you test your use case.
This was actually not mine.
The change was fixing the regression re
From: Florian Fainelli
Some Ethernet MAC drivers using the PHY library require the hardcoding
of link parameters when interfaced to a switch device, SFP module,
switch to switch port, etc. This has typically lead to various ad-hoc
implementations looking like this:
- using a "fixed PHY" emulated
What features a phy supports is masked in genphy_config_init() by
looking at the PHYs BMSR register.
If the link is down, fixed_phy_update_regs() will only set the auto-
negotiation capable bit in BMSR. Thus genphy_config_init() comes to
the conclusion the PHY can only perform 10/Half, and masks o
Changes since v1:
Rewrite 9/9 so that it hopefully does not regression on
868a4215be9a6d80 ("net: phy: fixed_phy: handle link-down case")
Stas, please could you test your use case.
Added the Acked-by and Reviewed by from Florian
Andrew
This patchset allows various switch port settings to
The current code sets user ports to perform auto negotiation using the
phy. CPU and DSA ports are configured to full duplex and maximum speed
the switch supports.
There are however use cases where the CPU has a slower port, and when
user ports have SFP modules with fixed speed. In these cases, por
It can be useful for DSA and CPU ports to have a phy-mode property, in
particular to specify RGMII delays. Parse the property and set it in
the fixed-link phydev.
Signed-off-by: Andrew Lunn
Acked-by: Florian Fainelli
---
net/dsa/dsa.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
Some Marvell switches allow the RGMII Rx and Tx clock to be delayed
when the port is using RGMII. Have the adjust_link function look at
the phy interface type and enable this delay as requested.
Signed-off-by: Andrew Lunn
Reviewed-by: Florian Fainelli
---
drivers/net/dsa/mv88e6xxx.c | 10 ++
An SFP module may have a link up/down status pin which can be
connection to a GPIO line of the host. Add support for reading such an
GPIO in the fixed_phy driver.
Signed-off-by: Andrew Lunn
Reviewed-by: Florian Fainelli
---
.../devicetree/bindings/net/fixed-link.txt | 14 +++-
D
By default, DSA and CPU ports are configured to the maximum speed the
switch supports. However there can be use cases where the peer devices
port is slower. Allow a fixed-link property to be used with the DSA
and CPU port in the device tree, and use this information to configure
the port.
Signed-o
Set the supported field of the phydev to indicate the speed features
of the phy. If the phy is never attached to a netdev, but used in an
adjust_link() function, the speed will be incorrectly evaluated to
10/half rather than the correct speed/duplex.
Signed-off-by: Andrew Lunn
Acked-by: Florian F
When polling for link status, don't consider ports which have a forced
link. Such ports don't monitor their phy or may not even have a phy.
Signed-off-by: Andrew Lunn
Acked-by: Florian Fainelli
---
drivers/net/dsa/mv88e6xxx.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/
On 08/30/2015 12:33 AM, Sergei Shtylyov wrote:
> Hello.
>
> On 8/28/2015 9:50 PM, Tony Lindgren wrote:
>
>> The interrupt handler may not be available when smsc911x probes if the
>> interrupt handler is a GPIO controller for example. Let's fix that
>> by adding handling for -EPROBE_DEFER.
>
>> C
Feature bits that are invalid should not be accepted by the kernel,
only the lower 4 bits may be configured, but not the remaining ones.
Even from these 4, 2 of them are unused.
Signed-off-by: Daniel Borkmann
---
include/uapi/linux/rtnetlink.h | 11 +++
net/ipv4/fib_semantics.c |
Currently, the following case doesn't use DCTCP, even if it should:
A responder has f.e. Cubic as system wide default, but for a specific
route to the initiating host, DCTCP is being set in RTAX_CC_ALGO. The
initiating host then uses DCTCP as congestion control, but since the
initiator sets ECT(0),
From: Florian Westphal
fib_create_info() is already quite large, so before adding more
code to the metrics section move that to a helper, similar to
ip6_convert_metrics.
Suggested-by: Daniel Borkmann
Signed-off-by: Florian Westphal
---
net/ipv4/fib_semantics.c | 71 +++
The kernel is applying the RA managed/otherconf flags silently and
forgets to send ifinfo notify to inform about their change when the
router provides a zero reachable_time and retrans_timer as dnsmasq
and many routers send it, which just means unspecified by this router
and the host should continu
Original cover letter:
Currently, the following case doesn't use DCTCP, even if it should:
- responder has f.e. cubic as system wide default
- 'ip route congctl dctcp $src' was set
Then, DCTCP is NOT used if a DCTCP sender attempts to connect from a
host in the $src range: ECT(0) i
Reduce the identation a bit, there's no need to artificically have
it increased.
Signed-off-by: Daniel Borkmann
---
net/ipv6/route.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 308dd5f..0261b72 1
On 08/31/2015 06:16 PM, Madalin Bucur wrote:
Address remaining issue after 80ec192.
Signed-off-by: Madalin Bucur
---
net/ipv4/af_inet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index c2d0ebc..96773a2 100644
--- a/net/ipv4/af_
Address remaining issue after 80ec192.
Signed-off-by: Madalin Bucur
---
net/ipv4/af_inet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index c2d0ebc..96773a2 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1496,7 +1496,
> -Original Message-
> From: netdev-ow...@vger.kernel.org [mailto:netdev-
> Subject: Re: [net-next:master 1512/1524] net/ipv4/af_inet.c:1486:26: error:
> 'offt' undeclared
>
> From: kbuild test robot
> Date: Mon, 31 Aug 2015 13:06:10 +0800
>
> >net/ipv4/af_inet.c: In function 'snmp_g
On Sun, Aug 30, 2015 at 03:47:17PM +0800, Herbert Xu wrote:
> Phil Sutter wrote:
> >
> > Should we introduce a new field to struct rhashtable to track the
> > internal state? This might allow to clean up some rather obscure tests,
> > e.g. whether a table resize is in progress or not.
>
> Why wou
> -Original Message-
> From: Cong Wang [mailto:cw...@twopensource.com]
> Sent: Friday, August 28, 2015 10:20 PM
> To: Philip Downey
> Cc: David Miller; Alexey Kuznetsov; James Morris; Hideaki YOSHIFUJI; Patrick
> McHardy; linux-ker...@vger.kernel.org; netdev
> Subject: Re: [PATCH] IGMP: I
Document the addition of a new sysctl variable which controls the
generation of IGMP reports for link local multicast groups in the
224.0.0.X range.
IGMP reports for local multicast groups can now be optionally
inhibited by setting the value to zero e.g.:
echo 0 > /proc/sys/net/ipv4/igmp_link_loca
This patch adds support for bridge vlan_protocol.
Example:
$ ip link set br0 type bridge vlan_protocol 802.1ad
$ ip -d link show br0
4: br0: mtu 1500 qdisc noqueue state
UP mode DEFAULT group default qlen 1000
link/ether 44:37:e6:ab:cd:ef brd ff:ff:ff:ff:ff:ff promiscuity 0
bridge forward
On 08/30/15 at 06:09pm, Pravin B Shelar wrote:
> Currently tun-info options pointer is used in few cases to
> pass options around. But tunnel options can be accessed using
> ip_tunnel_info_opts() API without using the pointer. Following
> patch removes the redundant pointer and consistently make us
On 08/30/15 at 03:29pm, Tom Herbert wrote:
> On Sun, Aug 30, 2015 at 2:28 PM, Peter N??rlund wrote:
> > It would definitely be simpler, and it would be nice to just fetch the
> > hash directly from the NIC - and for link aggregation it would probably
> > be fine. But with L4, we always need to con
31.08.2015 10:32, Bjørn Mork пишет:
Eugene Shatokhin writes:
28.08.2015 11:55, Bjørn Mork пишет:
I guess you are right. At least I cannot prove that you are not :)
There is a bit too much complexity involved here for me...
:-)
Yes, it is quite complex.
I admit, it was easier for me to f
On Mon, Aug 31, 2015 at 09:19:16AM +0200, Steffen Klassert wrote:
>
> As far as I remember, this was to catch local message size
> errors before __xfrm6_output calls ip6_fragment which would
> use icmpv6_send for the error notification. IPv4 does not do
> fragmentation in the xfrm4_output functions
Eugene Shatokhin writes:
> 28.08.2015 11:55, Bjørn Mork пишет:
>
>> I guess you are right. At least I cannot prove that you are not :)
>>
>> There is a bit too much complexity involved here for me...
>
> :-)
>
> Yes, it is quite complex.
>
> I admit, it was easier for me to find the races in usbn
On Sun, Aug 30, 2015 at 04:24:32PM +0800, Herbert Xu wrote:
> Hi Steffen:
>
> I received a bug report regarding poor IPComp performance over
> IPv6:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1257952
>
> It appears to have been caused by
>
> commit dd767856a36e00b631d65ebc4bb81b19915
1 - 100 of 102 matches
Mail list logo