Add support for Scater/Gather (S/G) frames. The FMan can place
the frame content into multiple buffers and provide a S/G Table
(SGT) into one first buffer with references to the others.
Signed-off-by: Madalin Bucur
---
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
On Thu, Sep 24, 2015 at 12:52:38PM +0100, David Woodhouse wrote:
> On Thu, 2015-09-24 at 11:31 +0100, Catalin Marinas wrote:
> > PRP0001 opens the door to any DT-like properties in ACPI and, knowing
> > how the ARM ecosystem works, I'm pretty sure we'll soon lose control (if
> > we haven't
Signed-off-by: Alexander Duyck
---
drivers/net/ethernet/intel/i40evf/i40evf_main.c | 26 +++
1 file changed, 26 insertions(+)
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index
On Thu, Sep 24, 2015 at 1:03 PM, Guillaume Nault wrote:
> On Wed, Sep 23, 2015 at 11:21:50PM +0200, Sedat Dilek wrote:
>> On Wed, Sep 23, 2015 at 10:46 PM, Sedat Dilek wrote:
>> > On Wed, Sep 23, 2015 at 12:38 PM, Guillaume Nault
Add the rhashtable_replace_fast function. This replaces one object in
the table with another atomically. The hashes of the new and old objects
must be equal.
Signed-off-by: Tom Herbert
---
include/linux/rhashtable.h | 80 ++
1
Create ila directory in preparation for supporting other hooks in the
kernel than LWT for doing ILA. This includes:
- Moving ila.c to ila/ila_lwt.c
- Splitting out some common functions into ila_common.c
Signed-off-by: Tom Herbert
---
net/ipv6/Makefile | 2 +-
A case can occur when sctp_accept() is called by the user during
a heartbeat timeout event after the 4-way handshake. Since
sctp_assoc_migrate() changes both assoc->base.sk and assoc->ep, the
bh_sock_lock in sctp_generate_heartbeat_event() will be taken with
the listening socket but released with
Fix indentation in sctp_generate_heartbeat_event.
Signed-off-by: Karl Heiss
---
net/sctp/sm_sideeffect.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c
index 35df126..f554b9a 100644
---
These patches fix a deadlock during accept() of an SCTP connection.
The first patch fixes whitespace issues.
The second patch actually fixes the deadlock race.
Karl Heiss (2):
sctp: Whitespace fix
sctp: Prevent soft lockup when sctp_accept() is called during a
timeout event
The start callback allows the caller to set up a context for the
dump callbacks. Presumably, the context can then be destroyed in
the done callback.
Signed-off-by: Tom Herbert
---
include/linux/netlink.h | 2 ++
include/net/genetlink.h | 2 ++
net/netlink/af_netlink.c
In the current implementation of ILA, LWT is used to perform
translation on both the input and output paths. This is functional,
however there is a big performance hit in the receive path. Early
demux occurs before the routing lookup (a hit actually obviates the
route lookup). Therefore the stack
This patch sets up a hook at NF_INET_PRE_ROUTING to perform ILA
translation. This is done to have a way to perform translation before
early demux which can be a significant performance advantage over
LWT which would occur after.
The implementation uses an rhashtable which is used to do the
of_mdio_find_bus() leaks a struct device refcount, caused by using
class_find_device() and not realising that the device reference has
its refcount incremented:
* Note, you will need to drop the reference with put_device() after use.
...
while ((dev = class_dev_iter_next())) {
Hello, David.
On Thu, Sep 24, 2015 at 12:11:42PM -0700, David Miller wrote:
> From: Herbert Xu
> Date: Tue, 22 Sep 2015 11:38:56 +0800
>
> > The commit 1f770c0a09da855a2b51af6d19de97fb955eca85 ("netlink:
> > Fix autobind race condition that leads to zero port ID")
On Thu, 2015-09-24 at 16:15 +0100, Catalin Marinas wrote:
> With "PRP0001", they can skip the _DSD properties review process (not
> that they bother much currently) as long as the existing DT support
> covers their needs.
So no change there then. I take it the smsc911x bindings didn't go
through
bus_find_device() is defined as:
* This is similar to the bus_for_each_dev() function above, but it
* returns a reference to a device that is 'found' for later use, as
* determined by the @match callback.
and it does indeed return a reference-counted pointer to the device:
while
Take a refcount on the phy struct device when the phy device is attached
to a network device, and drop it after it's detached. This ensures that
a refcount is held on the phy device while the device is being used by
a network device, thereby preventing the phy_device from being
unexpectedly
Signed-off-by: John W. Linville
---
include/linux/if_link.h | 1 +
ip/iplink_geneve.c | 20 +---
2 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/include/linux/if_link.h b/include/linux/if_link.h
index 193456660ee8..d0f385579c83 100644
of_phy_find_device() increments the phy struct device refcount, which
we need to properly balance. Add code to network drivers using this
function to ensure that the struct device refcount is correctly
balanced.
For xgene, looking back in the history, we should be able to use
of_phy_connect()
From: Jiri Benc
Date: Tue, 22 Sep 2015 18:56:43 +0200
> The genl_notify function has too many arguments for no real reason - all
> callers use genl_info to get them anyway. Just pass the genl_info down to
> genl_notify.
>
> Signed-off-by: Jiri Benc
Applied,
Add a phy_device_remove() function to complement phy_device_register(),
which undoes the effects of phy_device_register() by removing the phy
device from visibility, but not freeing it.
This allows these details to be moved out of the mdio bus code into
the phy code where this action belongs.
Validate that the phy_device passed into fixed_phy_update_state() is a
fixed-phy device before walking the list of phys for a fixed phy at the
same address.
Signed-off-by: Russell King
---
drivers/net/phy/fixed_phy.c | 2 +-
1 file changed, 1 insertion(+), 1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA384
On 09/24/2015 01:26 AM, Stephen Hemminger wrote:
> Having JSON output is going to be a real plus for programatic
> parsing. My understanding of best practice with JSON is that it is
> best to output values in best machine readable form, the format
Signed-off-by: Thomas F Herbert
---
include/linux/if_vlan.h | 17 +
1 file changed, 17 insertions(+)
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
index 67ce5bd..88d1be4 100644
--- a/include/linux/if_vlan.h
+++ b/include/linux/if_vlan.h
openvswitch: Add support for 8021.AD
Change the description of the VLAN tpid field.
Signed-off-by: Thomas F Herbert
---
include/uapi/linux/openvswitch.h | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git
Add support for 802.1ad including the ability to push and pop double
tagged vlans. Add support for 802.1ad to netlink parsing and flow
conversion. Uses double nested encap attributes to represent double
tagged vlan. Inner TPID encoded along with ctci in nested attributes.
Signed-off-by: Thomas F
V13: Fix incorrect encoding and decoding of netlink to/from key
attributes.
V12: Fix some problems and issues pointed out by reviewers. When parsing
netlink attributes Ether types other then 0x88a8 as outer tpid.
V11: Add inner tpid to flow key. Fix separate inner encap attribute
when parsing
From: huangdaode
Date: Thu, 24 Sep 2015 17:54:09 +0800
> This patch fixes the compilation error with arm allmodconfig, this error
> generated due to unavailability of readq on 32-bit platform which was
> found during net-next daily compilation
>
> Signed-off-by:
From: Ariel Elior
Date: Thu, 24 Sep 2015 14:46:24 +
> Just a friendly reminder that this request for comment is still out
> there, and well, no comments have been forthcoming.
For sizable networking drivers, your expectations should be set
extremely low for anyone
> > Just a friendly reminder that this request for comment is still out
> > there, and well, no comments have been forthcoming.
>
> For sizable networking drivers, your expectations should be set extremely low
> for anyone putting aside the time to review your work.
>
> I'm not saying this is
From: Ian Wilson
Allow bridge forward delay to be configured when Spanning Tree is enabled.
Signed-off-by: Ian Wilson
Signed-off-by: Stephen Hemminger
---
net/bridge/br_stp.c | 13 -
1 file changed, 4
Signed-off-by: John W. Linville
---
The IPv6 tunnel_info/metadata paths are untested due to lack of OVS
infrastructure for testing. The traditional netdev paths have had
reasonable testing by me with some local virt guests over the past
few weeks.
NOTE -- this patch
Take a refcount on the phy struct device when the phy device is attached
to a network device, and drop it after it's detached. This ensures that
a refcount is held on the phy device while the device is being used by
a network device, thereby preventing the phy_device from being
unexpectedly
of_mdio_find_bus() leaks a struct device refcount, caused by using
class_find_device() and not realising that the device reference has
its refcount incremented:
* Note, you will need to drop the reference with put_device() after use.
...
while ((dev = class_dev_iter_next())) {
Add a phy_device_remove() function to complement phy_device_register(),
which undoes the effects of phy_device_register() by removing the phy
device from visibility, but not freeing it.
This allows these details to be moved out of the mdio bus code into
the phy code where this action belongs.
bus_find_device() is defined as:
* This is similar to the bus_for_each_dev() function above, but it
* returns a reference to a device that is 'found' for later use, as
* determined by the @match callback.
and it does indeed return a reference-counted pointer to the device:
while
Hi,
The third version of this series fixes the build error which David
identified, and drops the broken changes for the Cavium Thunger BGX
ethernet driver as this driver requires some complex changes to
resolve the leakage - and this is best done by people who can test
the driver.
Compared to
Re-implement the mdiobus module refcounting to ensure that we actually
ensure that the mdiobus module code does not go away while we might call
into it.
The old scheme using bus->dev.driver was buggy, because bus->dev is a
class device which never has a struct device_driver associated with it,
Current users of of_mdio_find_bus() leak a struct device refcount, as
they fail to clean up the reference obtained inside class_find_device().
Fix the DSA code to properly refcount the returned MDIO bus by:
1. taking a reference on the struct device whenever we assign it to
of_find_net_device_by_node() uses class_find_device() internally to
lookup the corresponding network device. class_find_device() returns
a reference to the embedded struct device, with its refcount
incremented.
Add a comment to the definition in net/core/net-sysfs.c indicating the
need to drop
Validate that the phy_device passed into fixed_phy_update_state() is a
fixed-phy device before walking the list of phys for a fixed phy at the
same address.
Signed-off-by: Russell King
---
drivers/net/phy/fixed_phy.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Sedat Dilek
Date: Thu, 24 Sep 2015 18:19:16 +0200
> OK, I guess DaveM will take your patch into net.git#master first...
> and tag it there with CC-stable?
I do not tag anything with stable.
I queue it up into a patchwork bundle and explicitly submit those
patches
From: Herbert Xu
Date: Tue, 22 Sep 2015 11:38:56 +0800
> The commit 1f770c0a09da855a2b51af6d19de97fb955eca85 ("netlink:
> Fix autobind race condition that leads to zero port ID") created
> some new races that can occur due to inconcsistencies between the
> two port
From: Jiri Benc
Date: Tue, 22 Sep 2015 18:57:13 +0200
> Since commit 12fd84f4383b1 ("ipv6: Remove unused neigh argument for
> icmp6_dst_alloc() and its callers."), the neigh parameter of ndisc_send_na
> and ndisc_send_ns is unused.
>
> CC: YOSHIFUJI Hideaki
of_find_net_device_by_node() uses class_find_device() internally to
lookup the corresponding network device. class_find_device() returns
a reference to the embedded struct device, with its refcount
incremented.
Add a comment to the definition in net/core/net-sysfs.c indicating the
need to drop
On 09/24/2015 04:00 PM, Andrzej Hajda wrote:
The function returns always non-negative values.
The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1].
[1]: http://permalink.gmane.org/gmane.linux.kernel/2046107
Signed-off-by:
Re-implement the mdiobus module refcounting to ensure that we actually
ensure that the mdiobus module code does not go away while we might call
into it.
The old scheme using bus->dev.driver was buggy, because bus->dev is a
class device which never has a struct device_driver associated with it,
Current users of of_mdio_find_bus() leak a struct device refcount, as
they fail to clean up the reference obtained inside class_find_device().
Fix the DSA code to properly refcount the returned MDIO bus by:
1. taking a reference on the struct device whenever we assign it to
On Thu, 17 Sep 2015 17:23:54 +0300
Yuval Mintz wrote:
> +#define QEDE_NAPI_WEIGHT (NAPI_POLL_WEIGHT)
> +
Why not just use existing constant rather than walpapering?
> +
> +#define U64_LO(x)((u32)(((u64)(x)) & 0x))
> +#define U64_HI(x)
From: Eric Dumazet
Date: Tue, 22 Sep 2015 17:04:58 -0700
> From: Eric Dumazet
>
> After a good amount of debugging, I found bnx2x was byte swaping
> the 40 bytes of rss_key.
>
> If we byte swap the key, then bnx2x generates hashes matching
> MSDN
On 09/24/2015 02:52 PM, David Miller wrote:
From: David Daney
Date: Tue, 22 Sep 2015 17:41:36 -0700
From: David Daney
When the Cavium mdio-octeon devices appear in the Thunder family of
arm64 based SoCs, they show up as PCI devices. Add PCI
Add support for filtering neighbor dumps by master device by adding
the NDA_MASTER attribute to the dump request.
Signed-off-by: David Ahern
---
This method works for other filters as well and other dump commands
as well. Works fine for all combinations of new and old
Andrey reported a panic:
[ 7249.865507] BUG: unable to handle kernel pointer dereference at 00b4
[ 7249.865559] IP: [] icmp_route_lookup+0xaa/0x320
[ 7249.865598] *pdpt = 30f7f001 *pde =
[ 7249.865637] Oops: [#1]
...
[ 7249.866811] CPU: 0 PID: 0 Comm: swapper/0
From: Cong Wang
Date: Tue, 22 Sep 2015 17:01:11 -0700
> fw filter uses tp->root==NULL to check if it is the old method,
> so it doesn't need allocation at all in this case. This patch
> reverts the offending commit and adds some comments for old
> method to make it
From: Matt Bennett
Date: Wed, 23 Sep 2015 16:58:31 +1200
> Currently error log messages in ip6gre_err are printed at 'warn'
> level. This is different to most other tunnel types which don't
> print any messages. These log messages don't provide any information
>
On 09/24/2015 03:14 PM, David Miller wrote:
From: David Daney
Date: Thu, 24 Sep 2015 15:04:23 -0700
On 09/24/2015 02:52 PM, David Miller wrote:
From: David Daney
Date: Tue, 22 Sep 2015 17:41:36 -0700
From: David Daney
On Thu, Sep 24, 2015 at 03:51:37PM -0700, David Miller wrote:
> From: Andrew Lunn
> Date: Fri, 25 Sep 2015 00:26:54 +0200
>
> > On Thu, Sep 24, 2015 at 03:15:54PM -0700, David Miller wrote:
> >> From: Andrew Lunn
> >> Date: Thu, 24 Sep 2015 23:57:31 +0200
> >>
>
...
> While looking at the DSA code, I noticed we have a
> of_find_net_device_by_node(), and it looks like users of that are
> similarly buggy - it looks like net/dsa/dsa.c is the only user. Fix
> that too.
...
> The mdiobus code also suffered from the same kind of leak, but thankfully
> this
From: David Daney
Date: Thu, 24 Sep 2015 15:45:41 -0700
> 2) The OF device tree nodes for PCI devices do not result in the
> creation of a platform device.
But they are created for the children right? And that's the one
you need them for probing.
I'm still not
On 09/24/2015 03:50 PM, David Miller wrote:
From: David Daney
Date: Thu, 24 Sep 2015 15:45:41 -0700
2) The OF device tree nodes for PCI devices do not result in the
creation of a platform device.
But they are created for the children right? And that's the one
you
From: David Daney
Date: Thu, 24 Sep 2015 15:54:30 -0700
> On 09/24/2015 03:50 PM, David Miller wrote:
>> From: David Daney
>> Date: Thu, 24 Sep 2015 15:45:41 -0700
>>
>>> 2) The OF device tree nodes for PCI devices do not result in the
>>>
From: Matt Bennett
Date: Fri, 25 Sep 2015 11:01:47 +1200
> Currently error log messages in ip6_tnl_err are printed at 'warn'
> level. This is different to other tunnel types which don't print
> any messages. These log messages don't provide any information that
On Thu, Sep 24, 2015 at 10:58 AM, Thomas F Herbert
wrote:
> Add support for 802.1ad including the ability to push and pop double
> tagged vlans. Add support for 802.1ad to netlink parsing and flow
> conversion. Uses double nested encap attributes to represent double
>
On Wed, Sep 23, 2015 at 5:03 PM, Thomas Gleixner wrote:
> On Wed, 23 Sep 2015, Li Yang wrote:
>> On Mon, Sep 21, 2015 at 11:51 AM, Thomas Gleixner wrote:
>> > On Mon, 21 Sep 2015, Manoil Claudiu wrote:
>> >> >The device is set as wakeup capable using
From: Wengang Wang
Date: Mon, 21 Sep 2015 16:00:09 +0800
> This is the v2, comparing the v1, the changes is:
> * for loopback outbound device, it continue skipping cached route;
>for others, it goes through the cached route.
There are many things I want you to
From: Sudeep Holla
Date: Mon, 21 Sep 2015 16:47:09 +0100
> The device is set as wakeup capable using proper wakeup API but the
> driver misuses IRQF_NO_SUSPEND to set the interrupt as wakeup source
> which is incorrect.
>
> This patch removes the use of IRQF_NO_SUSPEND
From: Jiri Benc
Date: Tue, 22 Sep 2015 18:12:10 +0200
> One of the selling points of lwtunnel was the ability to specify the tunnel
> destination using routes. However, this doesn't really work currently, as
> ARP and ndisc replies are not handled correctly. ARP and ndisc
From: David Daney
Date: Thu, 24 Sep 2015 15:04:23 -0700
> On 09/24/2015 02:52 PM, David Miller wrote:
>> From: David Daney
>> Date: Tue, 22 Sep 2015 17:41:36 -0700
>>
>>> From: David Daney
>>>
>>> When the Cavium
Hi Florian,
On Sep. Wednesday 23 (39) 06:19 PM, Florian Fainelli wrote:
> Provide a device_type information for slave network devices created by
> DSA, this is useful for user-space application to easily locate/search
> for devices of a specific kind.
>
> Signed-off-by: Florian Fainelli
From: Scott Feldman
Use SWITCHDEV_F_SKIP_EOPNOTSUPP to skip over ports in bridge that don't
support setting ageing_time (or setting bridge attrs in general).
If push fails, don't update ageing_time in bridge and return err to user.
If push succeeds, update ageing_time in
From: Scott Feldman
Push bridge-level attributes down to switchdev drivers. This patchset
adds the infrastructure and then pushes, as an example, ageing_time attribute
down from bridge to switchdev (rocker) driver. Add some range-checking
for ageing_time.
# ip link set dev
From: Scott Feldman
The FDB cleanup timer will get rescheduled to re-evaluate FDB entries
based on new ageing_time.
Signed-off-by: Scott Feldman
---
drivers/net/ethernet/rocker/rocker.c | 22 ++
1 file changed, 22 insertions(+)
diff
From: Scott Feldman
This allows us to recurse over all the ports, skipping over unsupporting
ports. Without the change, the recursion would stop at first unsupported
port.
Signed-off-by: Scott Feldman
---
include/net/switchdev.h |1 +
From: Scott Feldman
Setting the stage to push bridge-level attributes down to port driver so
hardware can be programmed accordingly. Bridge-level attribute example is
ageing_time. This is a per-bridge attribute, not a per-bridge-port attr.
Signed-off-by: Scott Feldman
On Thu, 24 Sep 2015 13:59:26 -0700
sfel...@gmail.com wrote:
> From: Scott Feldman
>
> Push bridge-level attributes down to switchdev drivers. This patchset
> adds the infrastructure and then pushes, as an example, ageing_time attribute
> down from bridge to switchdev
From: David Daney
Date: Tue, 22 Sep 2015 17:41:36 -0700
> From: David Daney
>
> When the Cavium mdio-octeon devices appear in the Thunder family of
> arm64 based SoCs, they show up as PCI devices. Add PCI driver
> wrapping so the driver is bound
From: Eric Dumazet
Date: Tue, 22 Sep 2015 20:44:17 -0700
> From: Eric Dumazet
>
> Neal suggested to move sk_txhash init into tcp_create_openreq_child(),
> called both from IPv4 and IPv6.
>
> This opportunity was missed in commit 58d607d3e52f ("tcp:
On 09/24/2015 03:04 PM, David Daney wrote:
On 09/24/2015 02:52 PM, David Miller wrote:
From: David Daney
Date: Tue, 22 Sep 2015 17:41:36 -0700
From: David Daney
When the Cavium mdio-octeon devices appear in the Thunder family of
arm64 based
On Thu, Sep 24, 2015 at 03:15:54PM -0700, David Miller wrote:
> From: Andrew Lunn
> Date: Thu, 24 Sep 2015 23:57:31 +0200
>
> > I built the FEC driver as a module, and it won't unload:
> >
> > kernel:unregister_netdevice: waiting for eth1 to become free. Usage count
> > = 1
>
From: Johannes Berg
Date: Wed, 23 Sep 2015 10:44:14 +0200
> It's been pretty quiet for this cycle since the sizeof() mess, but I
> have two more fixes now I'd like to get in.
>
> Let me know if there's any problem.
Pulled, thanks a lot.
--
To unsubscribe from this
> Thanks for testing. Please could you confirm whether the same behaviour
> is observed without the patches, just to make absolutely sure that isn't
> a regression.
So i tested this now.
I have two FEC interfaces. One i my main access interface, and the
second is used by DSA to access switches.
Currently error log messages in ip6_tnl_err are printed at 'warn'
level. This is different to other tunnel types which don't print
any messages. These log messages don't provide any information that
couldn't be deduced with networking tools. Also it can be annoying
to have one end of the tunnel go
On Fri, Sep 25, 2015 at 12:50:33AM +0200, Andrew Lunn wrote:
> > Thanks for testing. Please could you confirm whether the same behaviour
> > is observed without the patches, just to make absolutely sure that isn't
> > a regression.
>
> So i tested this now.
>
> I have two FEC interfaces. One i
Replace calls to vrf_dev_table and friends with l3mdev_fib_table
and kin.
Signed-off-by: David Ahern
---
include/net/vrf.h | 80 -
net/ipv4/af_inet.c | 4 +--
net/ipv4/fib_frontend.c | 7 ++---
3 files
L3 master devices allow users of the abstraction to influence FIB lookups
for enslaved devices. Current API provides a means for the master device
to return a specific FIB table for an enslaved device, to return an
rtable/custom dst and influence the OIF used for fib lookups.
Signed-off-by: David
Signed-off-by: David Ahern
---
drivers/net/Kconfig | 1 +
drivers/net/vrf.c | 29 +
2 files changed, 30 insertions(+)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d18eb607bee6..b9ebd0d18a52 100644
--- a/drivers/net/Kconfig
Replace calls to vrf_dev_get_rth with l3mdev_get_rtable.
The check on the flow flags is handled in the l3mdev operation.
Signed-off-by: David Ahern
---
include/net/vrf.h | 22 --
net/ipv4/route.c | 8 +++-
2 files changed, 3 insertions(+), 27
Signed-off-by: David Ahern
---
drivers/net/vrf.c | 32 ++--
include/linux/netdevice.h | 2 --
include/net/vrf.h | 6 --
3 files changed, 2 insertions(+), 38 deletions(-)
diff --git a/drivers/net/vrf.c
The VRF device is essentially a Layer 3 master device used to associate
netdevices with a specific routing table and to influence FIB lookups
via 'ip rules' and controlling the oif/iif used for the lookup.
This series generalizes the VRF into L3 master device, l3mdev. Similar
to switchdev it has
Move remaining structs to VRF driver and delete the vrf header file.
Signed-off-by: David Ahern
---
MAINTAINERS | 1 -
drivers/net/vrf.c | 16 +++-
include/net/vrf.h | 29 -
3 files changed, 15 insertions(+), 31
Rename IFF_VRF_MASTER to IFF_L3MDEV_MASTER and update the name of the
netif_is_vrf and netif_index_is_vrf macros.
Signed-off-by: David Ahern
---
drivers/net/vrf.c | 6 +++---
include/linux/netdevice.h | 14 +++---
include/net/route.h | 2 +-
Signed-off-by: David Ahern
---
drivers/net/vrf.c | 4 ++--
include/net/flow.h | 2 +-
include/net/route.h | 2 +-
net/ipv4/fib_trie.c | 2 +-
net/ipv4/udp.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/vrf.c
Change CONFIG dependency to CONFIG_NET_L3_MASTER_DEV as well.
Signed-off-by: David Ahern
---
include/linux/netdevice.h | 21 -
include/net/l3mdev.h | 24
include/net/route.h | 1 +
3 files changed, 25
Replace calls to vrf_master_ifindex_rcu and vrf_master_ifindex with either
l3mdev_master_ifindex_rcu or l3mdev_master_ifindex.
The pattern:
oif = vrf_master_ifindex(dev) ? : dev->ifindex;
is replaced with
oif = l3mdev_fib_oif(dev);
And remove the now unused vrf macros.
Signed-off-by:
Because IPv6 addrconf keys off of IFF_SLAVE can not use it for
slave detection. Add a new private flag and add netif_is_l3_slave
function for checking it.
Signed-off-by: David Ahern
---
drivers/net/vrf.c | 8 +++-
include/linux/netdevice.h | 7 +++
On Thu, Sep 24, 2015 at 04:05:10PM -0400, Tejun Heo wrote:
>
> > I've decided to apply this and queue it up for -stable.
Thanks Dave!
> This is mostly correct; however, if there are or can be in-kernel
> users which create the client side of netlink socket, it isn't. Let's
> say such in-kernel
This is the v2, comparing the v1, the changes is:
* for loopback outbound device, it continue skipping cached route;
for others, it goes through the cached route.
For multicast, we should find valid route(thus get the meaniful pmtu) for
the packet on the socket which is not bound to a
On Thu, Sep 24, 2015 at 1:02 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Jiri Pirko (10):
> switchdev: rename "trans" to "trans_ph".
> switchdev: introduce transaction item queue for attr_set and obj_add
> switchdev: move transaction phase enum under
From: Eric Dumazet
We found that a TCP Fast Open passive connection was vulnerable
to reorders, as the exchange might look like
[1] C -> S S
[2] S -> C S. ack request
[3] S -> C .
packets [2] and [3] can be generated at almost the same time.
If C receives the 3rd
On 24/09/15 12:17, Russell King - ARM Linux wrote:
> Hi,
>
> The third version of this series fixes the build error which David
> identified, and drops the broken changes for the Cavium Thunger BGX
> ethernet driver as this driver requires some complex changes to
> resolve the leakage - and this
101 - 200 of 235 matches
Mail list logo