On Fri, Jan 18, 2019 at 04:33:13PM -0800, Saeed Mahameed wrote:
> From: Maxim Mikityanskiy
>
> As there is no user of mlx5_write64 that passes a spinlock to
> mlx5_write64, remove this functionality and simplify the function.
>
> Signed-off-by: Maxim Mikityanskiy
> Reviewed-by: Eran Ben Elisha
>
On 1/18/19 9:32 PM, tristram...@microchip.com wrote:
>>> These extremely patches look similar to what I posted here before:
>>>
>>> https://patchwork.ozlabs.org/cover/1017222/
>>>
>>> But the authorship has changed. Why ?
>>
>> There seems to be explanation in 0/4.
>>
>> Tristram: if you started fr
On 1/18/19 9:25 PM, tristram...@microchip.com wrote:
>>> +#define REG_SIZE 0x8000
>>> +
>>> +#define I2C_REGMAP_VAL 8
>>> +#define I2C_REGMAP_REG 16
>>> +
>>> +#define KSZ_REGMAP_COMMON(n, width)
>> \
>>> +{
As the last character of optval will be set with 0, so just copying
(optlen - 1) characters is enough.
Signed-off-by: Yafang Shao
---
net/core/filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/filter.c b/net/core/filter.c
index 447dd1b..7a4de22 100644
--- a/ne
When sock recvbuff is set by bpf_setsockopt(), the value must by limited
by rmem_max.
It is the same with sendbuff.
Signed-off-by: Yafang Shao
---
net/core/filter.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/core/filter.c b/net/core/filter.c
index 447dd1b..f30b58a 100644
--- a/net
From: wenxu
ip l add dev tun type gretap key 1000
ip a a dev tun 10.0.0.1/24
Packets with tun-id 1000 can be recived by tun dev. But packet can't
be sent through dev tun for non-tunnel-dst
With this patch: tunnel-dst can be get through lwtunnel like beflow:
ip r a 10.0.0.7 encap ip dst 172.168.
On Fri, Jan 18, 2019 at 05:18:19PM +0100, Arnd Bergmann wrote:
> The IPC system call handling is highly inconsistent across architectures,
> some use sys_ipc, some use separate calls, and some use both. We also
> have some architectures that require passing IPC_64 in the flags, and
> others that s
From: Saeed Mahameed
Date: Fri, 18 Jan 2019 16:25:19 -0800
> This series introduces some fixes to mlx5 driver.
>
> Please pull and let me know if there is any problem.
I'll pull this, thanks!
> For -stable v4.18
> ('net/mlx5e: Force CHECKSUM_UNNECESSARY for short ethernet frames')
>
> The pat
Want to shoot photos for your products and retouching also i needed?
We are studio special for photo shooting and retouching.
For your photos:
White background, Optimized for Shopify, Retouching included
Revisions accepted
We can also give you dedicate editing service for your photos
Let me kn
On Fri, Jan 18, 2019 at 01:39:24PM +0530, Naresh Kamboju wrote:
> Newly added test case bpf test_netcnt failed on i386 and qemu_i386 on
> mainline and -next kernel.
> Here we are running i386 kernel on x86_64 device.
> Pass on x86_64, arm64 and arm.
>
> Am i missing any pre required Kconfigs ?
Hi
From: Haiyang Zhang Sent: Monday, January 14, 2019
4:52 PM
>
> Changing mtu, channels, or buffer sizes ops call to netvsc_attach(),
> rndis_set_subchannel(), which always reset the hash key to default
> value. That will override hash key changed previously. This patch
> fixes the problem by save
From: Haiyang Zhang Sent: Monday, January 14, 2019
4:52 PM
>
> These assignments occur in multiple places. The patch refactor them
> to a function for simplicity. It also puts the struct to heap area
> for future expension.
>
> Signed-off-by: Haiyang Zhang
> ---
> drivers/net/hyperv/netvsc_d
From: Haiyang Zhang Sent: Monday, January 14, 2019
4:52 PM
>
> Hyper-V hosts require us to disable RSS before changing RSS key,
> otherwise the changing request will fail. This patch fixes the
> coding error.
>
> Fixes: ff4a44199012 ("netvsc: allow get/set of RSS indirection table")
> Reported
On Wed, Jan 16, 2019 at 7:46 PM wrote:
>
> From: Tonghao Zhang
>
> In some case, we may use multiple pedit actions to modify packets.
> The command shown as below: the last pedit action is effective.
>
> $ tc filter add dev netdev_rep parent : protocol ip prio 1 \
> flower skip_sw ip
On Thu, Jan 17, 2019 at 5:19 PM Christoph Paasch
wrote:
>
> Hello,
>
> On Sun, Jan 6, 2019 at 3:12 AM Saeed Mahameed
> wrote:
> >
> > On Sat, Jan 5, 2019 at 8:35 PM Nikola Ciprich
> > wrote:
> > >
> > > Hi Saeed,
> > >
> > >
> > > > Most likely the same issue, we are finalizing the patch initia
From: Michael Guralnik
Calling pci_enable_atomic_ops_to_root enables AtomicOp requests to pci
root port.
AtomicOp requests will be enabled only if the completer and all
intermediate pci bridges support PCI atomic operations.
This, together with appropriate settings in the NVCONFIG should enable
From: Jason Gunthorpe
APIs that have deferred callbacks should have some kind of cleanup
function that callers can use to fence the callbacks. Otherwise things
like module unloading can lead to dangling function pointers, or worse.
The IB MR code is the only place that calls this function and ha
From: Maxim Mikityanskiy
As there is no user of mlx5_write64 that passes a spinlock to
mlx5_write64, remove this functionality and simplify the function.
Signed-off-by: Maxim Mikityanskiy
Reviewed-by: Eran Ben Elisha
Signed-off-by: Saeed Mahameed
---
drivers/infiniband/hw/mlx5/qp.c
Hi all,
This series includes updates to mlx5-next shared branch.
1) from Jason, improve mlx5_cmd_exec_cb async API to be safer
2) from Maxim Mikityanskiy, cleanups for mlx5_write64 doorbell API
3) from Michael Guralnik, Add pci AtomicOps request
Thanks,
Saeed.
---
Jason Gunthorpe (1):
net/ml
From: Maxim Mikityanskiy
MLX5_*_DOORBELL_LOCK macros provided a way to avoid locking for
mlx5_write64 on 64-bit platforms where it's not necessary. Currently all
calls to mlx5_write64 don't use a spinlock, so the macros became unused.
Signed-off-by: Maxim Mikityanskiy
Reviewed-by: Eran Ben Elis
From: Cong Wang
When an ethernet frame is padded to meet the minimum ethernet frame
size, the padding octets are not covered by the hardware checksum.
Fortunately the padding octets are usually zero's, which don't affect
checksum. However, we have a switch which pads non-zero octets, this
causes
From: Tariq Toukan
For representors, the TX dropped counter is not folded from the
per-ring counters. Fix it.
Signed-off-by: Tariq Toukan
Signed-off-by: Saeed Mahameed
---
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet
From: Shay Agroskin
Advertised and configured FEC query failure resulted in printing
wrong error code.
Fixes: 6cfa94605091 ("net/mlx5e: Ethtool driver callback for query/set FEC
policy")
Signed-off-by: Shay Agroskin
Reported-by: Or Gerlitz
Signed-off-by: Saeed Mahameed
---
drivers/net/ether
From: Eli Britstein
Previously the identifier used for indirect block callback registry
and for block rule cb registry (when done via indirect blocks) was the
pointer to the tunnel netdev we were interested in receiving updates on.
This worked fine if a single PF existed that registered one callb
Hi Dave,
This series introduces some fixes to mlx5 driver.
Please pull and let me know if there is any problem.
For -stable v4.18
('net/mlx5e: Force CHECKSUM_UNNECESSARY for short ethernet frames')
The patch doesn't apply cleanly to 4.18.y, but it is very simple to
resolve, what should be the p
On Fri, Jan 18, 2019 at 12:14:24AM +0100, Thomas Gleixner wrote:
> Precise and non-ambiguous license information is important. The recent
> relicensing of the bpftools introduced a license conflict.
>
> The files have now:
>
> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause
>
> and
>
On Thu, Jan 17, 2019 at 04:34:45PM +0100, Daniel Borkmann wrote:
> During review I noticed that inner meta map setup for map in
> map is buggy in that it does not propagate all needed data
> from the reference map which the verifier is later accessing.
>
> In particular one such case is index mask
Hello,
I am trying to connect a Marvell switch (88E6172) to an AM3352 ethernet
port.
In the DSA devicetree description the CPU port has to have an "ethernet"
attribute with a reference to a device node. From which it derives the
net_device with a call of of_find_net_device_by_node
The CP
On Thu, Jan 17, 2019 at 07:20:51PM +, Martin Lau wrote:
> On Thu, Jan 17, 2019 at 04:15:09PM +0100, Daniel Borkmann wrote:
> > Dan reported that bpftool does not compile for him:
> >
> > $ make tools/bpf
> > DESCEND bpf
> >
> > Auto-detecting system features:
> > ..
From: Ido Schimmel
Date: Fri, 18 Jan 2019 15:57:54 +
> This patchset contains small fixes in mlxsw and one fix in the bridge
> driver.
>
> Patches #1-#4 perform small adjustments in PCI and FID code following
> recent tests that were performed on the Spectrum-2 ASIC.
>
> Patch #5 fixes the
From: Colin Ian King
There is a goto statement that is missing a tab for indentation. Fix this.
Signed-off-by: Colin Ian King
---
drivers/net/wireless/ti/wlcore/cmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ti/wlcore/cmd.c
b/drivers/net/wireles
From: Huazhong Tan
Date: Fri, 18 Jan 2019 16:13:02 +0800
> This patchset includes bugfixes and code optimizations for the HNS3
> ethernet controller driver
Series applied.
From: Eran Ben Elisha
Date: Thu, 17 Jan 2019 23:59:09 +0200
> The health mechanism is targeted for Real Time Alerting, in order to know when
> something bad had happened to a PCI device
> - Provide alert debug information
> - Self healing
> - If problem needs vendor support, provide a way to gath
On Fri, Dec 21, 2018 at 8:43 AM Madalin Bucur wrote:
>
> By clearing all interrupt sources, not only those that
> already occurred, the existing code may acknowledge by
> mistake interrupts that occurred after the code checks
> for them.
>
> Signed-off-by: Madalin Bucur
> Signed-off-by: Roy Pledg
There has been some confusion since checkpatch started warning about bool
use in structures, and people have been avoiding using it.
Many people feel there is still a legitimate place for bool in structures,
so provide some guidance on bool usage derived from the entire thread that
spawned the che
Stanislav Fomichev [Fri, 2019-01-18 08:50 -0800]:
> On 01/18, Andrey Ignatov wrote:
> > Stanislav Fomichev [Thu, 2019-01-17 16:41 -0800]:
> > > Currently, we have BPF_CGROUP_INET_SOCK_CREATE hook that triggers on
> > > socket creation and there is no way to know when the socket is being
> > > clo
From: Dmitry Torokhov
USB devices permanently connected to USB ports may be described in ACPI
tables and share ACPI devices with ports they are connected to. See [1]
for details.
This will allow us to describe sideband resources for devices, such as,
for example, hard reset line for BT USB contr
Add a quirk and a hook to allow the HCI core to reset the BT chip
if needed (after a number of timed out commands). Use that new hook to
initiate BT chip reset if the controller fails to respond to certain
number of commands (currently 5) including the HCI reset commands.
This is done based on a ne
The BTUSB_INTEL and BTUSB_INTEL_NEW have common functions & quirks are
assigned to hdev structure. Lets collect them together instead of
repeating them in different code branches.
Signed-off-by: Rajat Jain
---
v4: same as v1
v3: same as v1
v2: same as v1
drivers/bluetooth/btusb.c | 27 +
If the platform provides it, use the reset gpio to reset the BT
chip (requested by the HCI core if needed). This has been found helpful
on some of Intel bluetooth controllers where the firmware gets stuck and
the only way out is a hard reset pin provided by the platform.
Signed-off-by: Rajat Jain
From: Dmitry Torokhov
In preparation for handling embedded USB devices let's split
usb_acpi_find_companion() into usb_acpi_find_companion_for_device() and
usb_acpi_find_companion_for_port().
Signed-off-by: Dmitry Torokhov
Signed-off-by: Rajat Jain
Acked-by: Greg Kroah-Hartman
Tested-by: Sukum
From: Cong Wang
Date: Thu, 17 Jan 2019 12:44:25 -0800
> Although matchall always matches packets, however, it still
> relies on a protocol match first. So it is still useful to have
> such a counter for matchall. Of course, unlike u32, every time
> we hit a matchall filter, it is always a success
From: Heiner Kallweit
Date: Thu, 17 Jan 2019 20:06:46 +0100
> This patchset improves and simplifies stopping the PHY.
Series applied, thanks.
From: Felix Manlunas
Date: Thu, 17 Jan 2019 18:07:45 +
> From: Felix Manlunas
>
> Update email addresses of liquidio driver maintainers. Also remove a
> former maintainer.
>
> Signed-off-by: Felix Manlunas
> Acked-by: Derek Chickles
Applied, thanks.
From: Jonathan Neuschäfer
Date: Thu, 17 Jan 2019 18:02:18 +0100
> "also enables" should not be spelled as one word.
>
> Fixes: cfc80d9a1163 ("net: Introduce net_failover driver")
> Signed-off-by: Jonathan Neuschäfer
Applied.
From: Ross Lagerwall
Date: Thu, 17 Jan 2019 15:34:38 +
> In certain cases, pskb_trim_rcsum() may change skb pointers.
> Reinitialize header pointers afterwards to avoid potential
> use-after-frees. Add a note in the documentation of
> pskb_trim_rcsum(). Found by KASAN.
>
> Signed-off-by: Ros
From: Yafang Shao
Date: Thu, 17 Jan 2019 18:03:14 +0800
> Since tcp_mmap() is defined when CONFIG_MMU is set.
>
> Signed-off-by: Yafang Shao
Applied.
The LAN743x includes on chip One-Time-Programmable (OTP) memory.
This patch extends the ethtool EEPROM read/write interface to
access OTP memory space.
This is done by adding the private flag OTP_ACCESS, which is used
to switch between EEPROM, and OTP modes.
The private flag OTP_ACCESS is config
From: Colin King
Date: Wed, 16 Jan 2019 23:59:10 +
> From: Colin Ian King
>
> There is a goto statement that indented too deeply, fix it.
>
> Signed-off-by: Colin Ian King
Applied to net-next.
From: Colin King
Date: Thu, 17 Jan 2019 00:03:26 +
> From: Colin Ian King
>
> There are two lines that have indentation issues, fix these. Also remove
> an empty line.
>
> Signed-off-by: Colin Ian King
Applied to net-next.
From: Heiner Kallweit
Date: Wed, 16 Jan 2019 19:47:57 +0100
> Since recent changes to the phylib state machine state PHY_CHANGELINK
> isn't used any longer. Therefore let's remove it.
>
> Signed-off-by: Heiner Kallweit
Applied.
This patch added documentation for BTF (BPF Debug Format).
The document is placed under linux:Documentation/bpf directory.
Signed-off-by: Yonghong Song
---
Documentation/bpf/btf.rst | 870
Documentation/bpf/index.rst | 7 +
2 files changed, 877 insertions
From: Lorenzo Bianconi
Date: Wed, 16 Jan 2019 19:38:05 +0100
> Remove gre_hdr_len from ip6erspan_rcv routine signature since
> it is not longer used
>
> Signed-off-by: Lorenzo Bianconi
Applied.
On 1/18/19 3:41 AM, Ido Schimmel wrote:
> On Thu, Jan 17, 2019 at 11:17:57AM -0800, Florian Fainelli wrote:
>> On 1/17/19 6:05 AM, Ido Schimmel wrote:
>>> On Wed, Jan 16, 2019 at 12:00:57PM -0800, Florian Fainelli wrote:
In order for bridge port members to get a chance to implement unicast
>>>
On Fri, Dec 28, 2018 at 02:05:44PM -0800, Matthias Kaehlcke wrote:
> Add HCI_QUIRK_USE_BDADDR_PROPERTY to allow controllers to retrieve
> the public Bluetooth address from the firmware node property
> 'local-bd-address'. If quirk is set and the property does not exist
> or is invalid the controller
On 18.01.2019 21:58, Heiner Kallweit wrote:
> On 18.01.2019 09:48, Krzysztof Kozlowski wrote:
>> On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski wrote:
>>>
>>> Hi,
>>>
>>> On today's next (next-20190118) my Colibri VF50 board fails to boot
On Fri, 2019-01-18 at 18:31 +0900, Tetsuo Handa wrote:
> This is not a MM bug. ;-)
> And this change is made by below commit.
>
> commit 59361316afcb08569af21e1af83e89c7051c055a
> Author: Jeff Kirsher
> Date: Thu Aug 2 10:13:10 2018 -0700
>
> igb: reduce CPU0 latency when updating statisti
On 18.01.2019 09:48, Krzysztof Kozlowski wrote:
> On Fri, 18 Jan 2019 at 09:39, Krzysztof Kozlowski wrote:
>>
>> Hi,
>>
>> On today's next (next-20190118) my Colibri VF50 board fails to boot up
>> from network (DHCP, NFSv4 root). Looks like missing netwo
Hi Marcel,
Thanks for your review.
On Fri, Jan 18, 2019 at 3:04 AM Marcel Holtmann wrote:
>
> Hi Rajat,
>
> > If the platform provides it, use the reset gpio to reset the BT
> > chip (requested by the HCI core if needed). This has been found helpful
> > on some of Intel bluetooth controllers whe
On Fri, Jan 18, 2019 at 8:53 PM Andy Lutomirski wrote:
> I think we have two issues if we reuse those numbers for new syscalls.
> First, I'd really like to see new syscalls be numbered consistently
> everywhere, or at least on all x86 variants, and we can't on x32
> because they mean something els
Convert scaling document into reStructuredText and add reference to
scaling document into main table of contents in network documentation.
There are no semantic changes.
There are no references to "scaling.txt" file. Whole kernel tree was
checked using:
$ grep -r "scaling\.txt"
Signed-off-by: Ot
Changes in v2:
* Changed formatting of sections according to kernel documentation
conventions [0].
* All commits from this series were squashed into one.
[0] https://www.kernel.org/doc/html/latest/doc-guide/sphinx.html
Otto Sabart (1):
doc: networking: integrate scaling document into doc tree
> > These extremely patches look similar to what I posted here before:
> >
> > https://patchwork.ozlabs.org/cover/1017222/
> >
> > But the authorship has changed. Why ?
>
> There seems to be explanation in 0/4.
>
> Tristram: if you started from Marek's patches as you describe in 0/4,
> you should
> > +#define REG_SIZE 0x8000
> > +
> > +#define I2C_REGMAP_VAL 8
> > +#define I2C_REGMAP_REG 16
> > +
> > +#define KSZ_REGMAP_COMMON(n, width)
> \
> > +{ \
> > +
On Fri, Jan 18, 2019 at 07:18:32AM +, Y.b. Lu wrote:
> > We want to use "imply" instead of "select" here.
>
> [Y.b. Lu] Just learned the "imply" from the doc. I have a query here.
> Since this allows to configure PTP_1588_CLOCK out, the PHC APIs of
> FSL_DPAA2_PTP_CLOCK driver may not work.
>
On Fri, Jan 18, 2019 at 11:33 AM Arnd Bergmann wrote:
>
> On Fri, Jan 18, 2019 at 7:50 PM Andy Lutomirski wrote:
> > On Fri, Jan 18, 2019 at 8:25 AM Arnd Bergmann wrote:
> > > - Once we get to 512, we clash with the x32 numbers (unless
> > > we remove x32 support first), and probably have to s
On Fri, Jan 18, 2019 at 7:50 PM Andy Lutomirski wrote:
> On Fri, Jan 18, 2019 at 8:25 AM Arnd Bergmann wrote:
> > - Once we get to 512, we clash with the x32 numbers (unless
> > we remove x32 support first), and probably have to skip
> > a few more. I also considered using the 512..547 space
On Fri, Jan 18, 2019 at 6:20 PM Gabriel Paubert wrote:
>
> On Fri, Jan 18, 2019 at 05:18:19PM +0100, Arnd Bergmann wrote:
> > The IPC system call handling is highly inconsistent across architectures,
> > some use sys_ipc, some use separate calls, and some use both. We also
> > have some architect
On Fri, 18 Jan 2019 13:58:17 +0100, Jiri Olsa wrote:
> Lance reported an issue with bpftool not being able to
> dump program if there are more programs loaded and you
> want to dump any but the first program, like:
>
> # bpftool prog
> 28: kprobe name trace_req_start tag 1dfc28ba8b3dd597 gp
Changes v1 -> v2:
Corrected stylistic nits:
- Line break locations in ipxfrm.c
- Usage and man pages updated to reflect deleteall and list parameters
are no longer optional, as they have been individualized.
Benedict Wong (1):
xfrm: add option to hide keys in state output
ip/ipxfrm.c
ip xfrm state show currently dumps keys unconditionally. This limits its
use in logging, as security information can be leaked.
This patch adds a nokeys option to ip xfrm ( state show | monitor ), which
prevents the printing of keys. This allows ip xfrm state show to be used
in logging without exp
From: Thomas Petazzoni
Date: Wed, 16 Jan 2019 10:53:58 +0100
> The current code in __mdiobus_register() doesn't properly handle
> failures returned by the devm_gpiod_get_optional() call: it returns
> immediately, without unregistering the device that was added by the
> call to device_register() e
2019-01-18 17:50 UTC+0100 ~ Paolo Abeni
> When updating a percpu map, bpftool currently copies the provided
> value only into the first per CPU copy of the specified value,
> all others instances are left zeroed.
>
> This change explicitly copies the user-provided bytes to all the
> per CPU insta
From: we...@ucloud.cn
Date: Tue, 15 Jan 2019 10:44:35 +0800
> + tun_info = skb_tunnel_info(skb);
> + if (tun_info && (tun_info->mode & IP_TUNNEL_INFO_TX) &&
> + ip_tunnel_info_af(tun_info) == AF_INET &&
> + tun_info->key.u.ipv4.dst) {
> +
From: Otto Sabart
Date: Mon, 14 Jan 2019 12:56:36 +0100
> Fix "reference to nonexisting document" warnings.
>
> Fixes: b255e500c8dc ("net: documentation: build a directory structure
> for drivers")
Please do not chop up Fixes: tags, keep the entire text on one
continuous line. I fixed it up fo
On Fri, 18 Jan 2019 at 17:15, Eric Dumazet wrote:
>
>
>
> On 01/18/2019 04:46 AM, Dave McKay wrote:
> > The state member of the napi_struct is not initialised correctly, it
> > sets the SCHED bit without initialising the state to zero first. This
> > results in peculiar behaviour if the original n
On Fri, Jan 18, 2019 at 8:25 AM Arnd Bergmann wrote:
>
> This adds 21 new system calls on each ABI that has 32-bit time_t
> today. All of these have the exact same semantics as their existing
> counterparts, and the new ones all have macro names that end in 'time64'
> for clarification.
>
> This g
Make RTM_GETLINK's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/core/rtnetlink.c | 49 +++-
1 file changed, 48 insertions(+), 1 deletion(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
Make RTM_GETADDR's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/ipv6/addrconf.c | 49 +++--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
i
Dumps can read state of the NETLINK_F_STRICT_CHK flag from
a field in the callback structure. For non-dump GET requests
we need a way to access the state of that flag from a socket.
Signed-off-by: Jakub Kicinski
---
include/linux/netlink.h | 1 +
net/netlink/af_netlink.c | 8
2 files
Make RTM_GETNETCONF's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/mpls/af_mpls.c | 42 +++---
1 file changed, 39 insertions(+), 3 deletions(-)
diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c
inde
Make RTM_GETNETCONF's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/ipv6/addrconf.c | 41 ++---
1 file changed, 38 insertions(+), 3 deletions(-)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
in
Make RTM_GETROUTE's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/mpls/af_mpls.c | 61 --
1 file changed, 59 insertions(+), 2 deletions(-)
diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c
in
Make RTM_GETROUTE's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/ipv6/route.c | 70 ++--
1 file changed, 68 insertions(+), 2 deletions(-)
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index
Make sure NETLINK_GET_STRICT_CHK influences both GETSTATS doit
as well as the dump.
Signed-off-by: Jakub Kicinski
---
net/core/rtnetlink.c | 58
1 file changed, 37 insertions(+), 21 deletions(-)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.
Make RTM_GETROUTE's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
v2: - improve extack messages (DaveA).
Signed-off-by: Jakub Kicinski
---
net/ipv4/ipmr.c | 61 +
1 file changed, 56 insertions(+), 5 deletions(-)
diff --git a/ne
Make RTM_GETNETCONF's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/ipv4/devinet.c | 43 +++
1 file changed, 39 insertions(+), 4 deletions(-)
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
ind
Make RTM_GETNSID's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
v2: - don't check size >= sizeof(struct rtgenmsg) (Nicolas).
Signed-off-by: Jakub Kicinski
---
CC: ktk...@virtuozzo.com
CC: nicolas.dich...@6wind.com
---
net/core/net_namespace.c | 38 +++
In the spirit of strict checks reject requests of stats the kernel
does not support when NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/core/rtnetlink.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 08f142b59403..3c1
Hi!
This series extends strict argument checking to doit handlers
of the GET* nature. This is a bit tricky since strict checking
flag has already been released..
iproute2 did not have a release with strick checks enabled,
and it will only need a minor one-liner to pass strick checks
after all th
Make RTM_GETADDRLABEL's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
Signed-off-by: Jakub Kicinski
---
net/ipv6/addrlabel.c | 47 ++--
1 file changed, 45 insertions(+), 2 deletions(-)
diff --git a/net/ipv6/addrlabel.c b/net/ipv6/addrla
Make RTM_GETROUTE's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.
v2: - new patch (DaveA).
Signed-off-by: Jakub Kicinski
---
net/ipv4/route.c | 72 ++--
1 file changed, 70 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/route.c
On Fri, Dec 14, 2018 at 05:19:23PM -0800, Maciej Żenczykowski wrote:
> From: Maciej Żenczykowski
>
> prior to fetching it from kernel.
>
> Otherwise we run the risk of very tail portion of it (dmac field)
> being left entirely uninitialized, and likely containing some sort
> of stale data.
>
>
On Tue, Dec 18, 2018 at 02:06:34PM -0500, Vivien Didelot wrote:
> This patch series adds support to pretty dump the registers of user
> ports created by the kernel "dsa" subsystem.
>
> The first patch adds the base support for "dsa" interfaces.
>
> The second patch adds the boilerplate for the "m
On Thu, Nov 29, 2018 at 04:36:53PM +0100, Ivan Vecera wrote:
> Support for UDP fragmentation offloading was removed in kernel v4.14.
> The ethtool reports incorrectly its state on this and newer kernels:
>
> $ ethtool -k enp0s31f6 | grep udp-frag
> udp-fragmentation-offload: off
>
> It's look lik
On Fri, Dec 14, 2018 at 05:19:36PM -0800, Maciej Żenczykowski wrote:
> From: Maciej Żenczykowski
>
> This fixes:
> In file included from ethtool-copy.h:22:0,
>from internal.h:32,
>from ethtool.c:29:
> .../include/linux/types.h:32:25: error: conflicting
On Thu, Jan 17, 2019 at 03:31:57PM -0800, Eric Dumazet wrote:
> This adds the ability to read gso_segs from a BPF program.
>
> v2: refined Eddie Hao patch to address Alexei feedback.
>
> Signed-off-by: Eric Dumazet
> Cc: Eddie Hao
> Cc: Vlad Dumitrescu
> Cc: Xiaotian Pei
> Cc: Yuchung Cheng
2019-01-18 13:58 UTC+0100 ~ Jiri Olsa
> Lance reported an issue with bpftool not being able to
> dump program if there are more programs loaded and you
> want to dump any but the first program, like:
>
> # bpftool prog
> 28: kprobe name trace_req_start tag 1dfc28ba8b3dd597 gpl
> load
On 1/18/19 12:58 AM, Antoine Tenart wrote:
> Hi Florian,
>
> On Thu, Jan 17, 2019 at 09:07:05PM -0800, Florian Fainelli wrote:
>> On 1/17/2019 2:02 AM, Antoine Tenart wrote:
>>>
>>> This series adds support for the PTP offloading support in the Mscc
>>> Ocelot Ethernet switch driver. Both PTP 1-st
On Fri, 18 Jan 2019 07:45:50 -0700, David Ahern wrote:
> On 1/17/19 3:52 PM, Jakub Kicinski wrote:
> > Hi!
> >
> > This series extends strict argument checking to doit handlers
> > of the GET* nature. This is a bit tricky since strict checking
> > flag has already been released..
> >
> > iproute
1 - 100 of 257 matches
Mail list logo