On Sat, Nov 4, 2017 at 4:53 PM, Serge E. Hallyn wrote:
>
> Quoting Mahesh Bandewar (mah...@bandewar.net):
> > Init-user-ns is always uncontrolled and a process that has SYS_ADMIN
> > that belongs to uncontrolled user-ns can create another (child) user-
> > namespace that is uncontrolled. Any other
Attributes using NLA_U* and NLA_S* (where * is 8, 16,32 and 64) are
expected to be an exact length. Split these data types from
nla_attr_minlen into nla_attr_len and update validate_nla to require
the attribute to have exact length for them.
Signed-off-by: David Ahern
---
resend. First one was in
Add neigh_carrier_down helper to flush non-permanent entries on carrier
down.
Signed-off-by: David Ahern
---
include/net/neighbour.h | 1 +
net/core/neighbour.c| 26 ++
2 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/include/net/neighbour.h b/include/
On Mon, 2017-11-06 at 14:48 +0800, Liu Yu wrote:
> On Mon, Nov 6, 2017 at 1:27 PM, Eric Dumazet wrote:
> > On Mon, 2017-11-06 at 10:28 +0800, Liu Yu wrote:
> >> From: Liu Yu
> >>
> >> When a mount of processes connect to the same port at the same address
> >> simultaneously, they are likely getti
Commit a6db4494d218c ("net: ipv4: Consider failed nexthops in multipath
routes") added support for checking neighbor state when selecting a path
for multipath route lookups. It works but incurs a delay waiting for
the neighbor entry to timeout. Improve the path selection by flushing
non-permanent n
Commit a6db4494d218c ("net: ipv4: Consider failed nexthops in multipath
routes") added support for checking neighbor state when selecting a path
for multipath route lookups. It works but incurs a delay waiting for
the neighbor entry to timeout. Improve the path selection by flushing
non-permanent n
Similar to IPv4, flush non-permanent neighbor entries on carrier down
to improve path selection for multipath routes.
Signed-off-by: Satish Ashok
Signed-off-by: David Ahern
---
net/ipv6/addrconf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
i
On Mon, Nov 6, 2017 at 1:27 PM, Eric Dumazet wrote:
> On Mon, 2017-11-06 at 10:28 +0800, Liu Yu wrote:
>> From: Liu Yu
>>
>> When a mount of processes connect to the same port at the same address
>> simultaneously, they are likely getting the same bhash and therefore
>> conflict with each other.
On Mon, Nov 6, 2017 at 12:12 PM, Cong Wang wrote:
> On Sun, Nov 5, 2017 at 6:28 PM, Liu Yu wrote:
>> - spin_lock_bh(&head->lock);
>> + ret = spin_trylock(&head->lock);
>
> Clearly you want spin_trylock_bh() instead.
Good catch! Thansk!
From: Nogah Frankel
Add support for ndo_setup_tc with enum tc_setup_type value of
TC_SETUP_QDISC_STATS. This call updates the generic qdisc stats from the
cache if the handle ID that is asked for matching the root qdisc ID and
fails otherwise.
Currently doesn't support qlen and rqueues.
Signed-o
From: Yuval Mintz
This adds the counter group definitions for 2 new counter groups
which are necessary for gaining ECN & wred counters.
Signed-off-by: Yuval Mintz
Signed-off-by: Nogah Frankel
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/reg.h | 19 +++
1
From: Nogah Frankel
Add support for ndo_setup_tc with enum tc_setup_type value of
TC_SETUP_RED_XSTATS. This call returns the RED qdisc xstats from the cache
if the handle ID that is asked for matching the root qdisc ID and fails
otherwise.
Signed-off-by: Nogah Frankel
Signed-off-by: Jiri Pirko
From: Nogah Frankel
Change TC_SETUP_CBS to TC_SETUP_QDISC_CBS to match the new convention..
Signed-off-by: Nogah Frankel
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
include/linux/netdevice.h | 2 +-
net/sched/sch_cbs.c
From: Nogah Frankel
Add more statistics to be collected from the HW periodically. These stats
are tclass based (beside ECN marked packet, that exist only port based).
They are needed to expose RED qdisc stats and xstats correctly.
Signed-off-by: Nogah Frankel
Signed-off-by: Jiri Pirko
---
dri
From: Nogah Frankel
This patch adds 2 new registers:
- Congestion WRED ECN TClass Profile Register [CWTP]
- Congestion WRED ECN TClass and Pool Mapping Register [CWTPM]
These registers would later be needed to offload RED-related
functionality to the HW.
Signed-off-by: Yuval Mintz
Signed-off
From: Nogah Frankel
Add support for ndo_setup_tc with enum tc_setup_type value of TC_SETUP_RED.
This call sets RED qdisc on a traffic class.
This patch supports RED qdisc only as a root qdisc and set in on the
default tclass. It can be set with or without ECN.
Signed-off-by: Yuval Mintz
Signed-
From: Nogah Frankel
Change TC_SETUP_MQPRIO to TC_SETUP_QDISC_MQPRIO to match the new
convention.
Signed-off-by: Nogah Frankel
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 2 +-
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c| 2 +-
drivers/net
From: Nogah Frankel
Add the ability to offload RED qdisc by using ndo_setup_tc.
There are four commands for RED offloading:
* TC_RED_SET: handles set and change.
* TC_RED_DESTROY: handle qdisc destroy.
* TC_RED_STATS: update the qdiscs counters (given as reference)
* TC_RED_XSTAT: returns red xst
From: Jiri Pirko
Nogah says:
Add an offload support for RED qdisc for mlxsw driver.
The first patch adds the ability to offload RED qdisc by using
ndo_setup_tc. It gives RED three commands, to offload, change or delete
the qdisc, to get the qdisc generic stats and to get it's RED xstats.
There i
Added support to show filenames of pinned objects.
For example:
root@test# ./bpftool prog
3: tracepoint name tracepoint__irq tag f677a7dd722299a3
loaded_at Oct 26/11:39 uid 0
xlated 160B not jited memlock 4096B map_ids 4
pinned /sys/fs/bpf/softirq_prog
4: tracepoint name trace
Making it optional to show file names of pinned objects because
it scans complete bpf-fs filesystem which is costly.
Added option -f|--bpffs. Documentation updated.
Signed-off-by: Prashant Bhole
---
v2:
- Change command line option from {-l|--pinned} to {-f|--bpffs}
- Updated documentation
v3:
This was needed for opening any file in bpf-fs without knowing
its object type
Signed-off-by: Prashant Bhole
---
v2:
- No change
v3:
- No change
tools/bpf/bpftool/common.c | 15 +--
tools/bpf/bpftool/main.h | 1 +
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a
This patchset adds support to show pinned objects in object details.
Patch1 adds a funtionality to open a path in bpf-fs regardless of its object
type.
Patch2 adds actual functionality by scanning the bpf-fs once and adding
object information in hash table, with object id as a key. One object may
On 2017-11-02 9:11 PM, Jay Vosburgh wrote:
Alex Sidorenko wrote:
...> I think I see the flaw in the logic.
1) bond_miimon_inspect finds link_state = 0, then makes a call
to bond_propose_link_state(BOND_LINK_FAIL), setting link_new_state to
BOND_LINK_FAIL. _inspect then sets s
> From: Quentin Monnet [mailto:quentin.mon...@netronome.com]
>
> 2017-11-02 16:59 UTC+0900 ~ Prashant Bhole
>
> > Added support to show filenames of pinned objects.
> >
> > For example:
> >
>
> […]
>
> >
> > Signed-off-by: Prashant Bhole
> > ---
> > v2:
> > - Dynamically identify bpf-fs mou
From: Andy Gospodarek
This takes the code that is not generically named to lib/.
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler to act on this collected data once per
pol
From: Andy Gospodarek
This makes mlx5e_am_sample more generic so that it can be called easily
from a driver that does not use the same data structure to store these
values in a single structure.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c | 22
From: Andy Gospodarek
These functions were identified as ones that could be made generic and
used by multiple drivers. Most of the contents of en_rx_am.c are moved
to net_rx_am.c.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 2 +-
drivers/net/ether
From: Andy Gospodarek
This is so net_rx_am.h can be easily moved out of mlx5/core.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.h | 108 -
.../net/ethernet/mellanox/mlx5/core
From: Andy Gospodarek
More movement to help make this code more generic.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.c | 25 -
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.h | 26 ++
2 files changed, 26 inserti
From: Andy Gospodarek
This implements the changes needed for the bnxt_en driver to add support
for adaptive interrupt moderation per ring.
This does add additional counters in the receive path, but testing shows
that any additional instructions are offset by throughput gain when the
default conf
From: Andy Gospodarek
This takes the code that is not generically named to lib/.
This move allows drivers to add private structure elements to track the
number of packets, bytes, and interrupts events per ring. A driver
also defines a workqueue handler to act on this collected data once per
pol
From: Andy Gospodarek
Remove all mlx5* and MLX* references to net_ and NET_, respectively in
code that handles software interrupt moderation.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 7 +-
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 6
From: Andy Gospodarek
Create new header file to prepare to move code that handles irq
moderation to a library.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 32 +-
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.h | 74 ++
From: Andy Gospodarek
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 4
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.h | 4
2 files changed, 4 insertions(+),
From: Andy Gospodarek
Move these to newly created file to prepare to move these functions to a
library.
Signed-off-by: Andy Gospodarek
---
drivers/net/ethernet/mellanox/mlx5/core/en.h | 4
drivers/net/ethernet/mellanox/mlx5/core/en_rx_am.h | 4
2 files changed, 4 insertions(+),
From: Andy Gospodarek
This RFC converts the adaptive interrupt moderation library from the
mlx5_en driver into a library so it can be used by any driver. The last
patch in this set adds support for interrupt moderation in the bnxt_en
driver.
The main purpose of this code in the mlx5 driver is t
From: Andy Gospodarek
This RFC converts the adaptive interrupt moderation library from the
mlx5_en driver into a library so it can be used by any driver. The last
patch in this set adds support for interrupt moderation in the bnxt_en
driver.
The main purpose of this code in the mlx5_en driver i
On 11/06/2017 03:44 AM, Lawrence Brakmo wrote:
The original patch had the wrong filename.
Fixes: bfdf75693875 ("bpf: create samples/bpf/tcp_bpf.readme")
Signed-off-by: Lawrence Brakmo
Acked-by: Daniel Borkmann
On Mon, 2017-11-06 at 10:28 +0800, Liu Yu wrote:
> From: Liu Yu
>
> When a mount of processes connect to the same port at the same address
> simultaneously, they are likely getting the same bhash and therefore
> conflict with each other.
>
> The more the cpu number, the worse in this case.
>
>
On 11/6/17 11:44 AM, Lawrence Brakmo wrote:
The original patch had the wrong filename.
Fixes: bfdf75693875 ("bpf: create samples/bpf/tcp_bpf.readme")
Signed-off-by: Lawrence Brakmo
Acked-by: Alexei Starovoitov
Hi Alexei, Naveen,
On 11/04/2017 11:01 PM, Naveen N. Rao wrote:
>
> I think the offsets described in dwarf were incorrect with
> CONFIG_GCC_PLUGIN_RANDSTRUCT, but I'll let Sandipan confirm that.
>
I think that the offsets described in dwarf are probably incorrect when
CONFIG_GCC_PLUGIN_RANDSTR
On Sat, Nov 04, 2017 at 10:29:46PM +0800, Pravin Shelar wrote:
> On Tue, Oct 31, 2017 at 9:03 PM, Yi Yang wrote:
> > +int nsh_push(struct sk_buff *skb, const struct nshhdr *pushed_nh)
> > +{
> > + struct nshhdr *nh;
> > + size_t length = nsh_hdr_len(pushed_nh);
> > + u8 next_prot
v15->v16
- Add csum recalculation for nsh_push, nsh_pop and set_nsh
pointed out by Pravin
- Move nsh key into the union with ipv4 and ipv6 and add
check for nsh key in match_validate pointed out by Pravin
- Add nsh check in validate_set and __ovs_nla_copy_actions
v14->v15
- Check size in
On Sun, Nov 5, 2017 at 6:28 PM, Liu Yu wrote:
> - spin_lock_bh(&head->lock);
> + ret = spin_trylock(&head->lock);
Clearly you want spin_trylock_bh() instead.
The original patch had the wrong filename.
Fixes: bfdf75693875 ("bpf: create samples/bpf/tcp_bpf.readme")
Signed-off-by: Lawrence Brakmo
---
samples/bpf/{tcp_bbf.readme => tcp_bpf.readme} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename samples/bpf/{tcp_bbf.readme => tcp_bpf.readme}
On 2017/11/4 3:52, Florian Fainelli wrote:
On 11/02/2017 09:18 PM, Lipeng wrote:
From: Fuyun Liang
This patch adds set_link_ksettings support for ethtool cmd.
Signed-off-by: Fuyun Liang
Signed-off-by: Lipeng
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c | 11 +++
From: Liu Yu
When a mount of processes connect to the same port at the same address
simultaneously, they are likely getting the same bhash and therefore
conflict with each other.
The more the cpu number, the worse in this case.
Use spin_trylock instead for this scene, which seems doesn't matter
From: Troy Kisky Sent: Saturday, November 04,
2017 1:30 AM
>This is better for code locality and should slightly speed up normal
>interrupts.
>
>This also allows PPS clock output to start working for i.mx7. This is because
>i.mx7 was already using the limit of 3 interrupts, and needed another.
>
Hi Saeed,
Quoting Saeed Mahameed :
On Sat, Nov 4, 2017 at 8:54 PM, Gustavo A. R. Silva
wrote:
hn is being kfree'd in mlx5e_del_l2_from_hash and then dereferenced
by accessing hn->ai.addr
Fix this by copying the MAC address into a local variable for its safe use
in all possible execution path
After commit 07f4c90062f8 ("tcp/dccp: try to not exhaust ip_local_port_range
in connect()"), we will try to use even ports for connect(). Then if an
application (seen clearly with iperf) opens multiple streams to the same
destination IP and port, each stream will be given an even source port.
So t
On Sun, Nov 05, 2017 at 01:38:47PM -0800, Eric Dumazet wrote:
> > diff --git a/drivers/net/bonding/bond_main.c
> > b/drivers/net/bonding/bond_main.c
> > index c99dc59..728fa08 100644
> > --- a/drivers/net/bonding/bond_main.c
> > +++ b/drivers/net/bonding/bond_main.c
> > @@ -3237,7 +3237,7 @@ u32 b
On 11/6/17 5:56 AM, Vasily Averin wrote:
> On 2017-11-05 15:48, David Miller wrote:
>> From: Vasily Averin
>>> I doubt that pointer to freed net have value for someone except
>>> developers, on the other hand it helps to speed up the problem
>>> investigation.
>>
>> Any kernel pointer printed has
Add documenation for kernel ILA. This describes ILA, features,
configuration gives some examples.
Signed-off-by: Tom Herbert
---
Documentation/networking/ila.txt | 286 +++
1 file changed, 286 insertions(+)
create mode 100644 Documentation/networking/ila.txt
Hi Linus
> +static int realtek_smi_read_reg(struct realtek_smi *smi, u32 addr, u32 *data)
> +{
> + unsigned long flags;
> + u8 lo = 0;
> + u8 hi = 0;
> + int ret;
> +
> + spin_lock_irqsave(&smi->lock, flags);
> +
> + realtek_smi_start(smi);
> +
> + /* send READ command
In LWT tunnels both an input and output route method is defined.
If both of these are executed in the same path then double translation
happens and the effect is not correct.
This patch adds a new attribute that indicates the hook type. Two
values are defined for route output and route output. ILA
Allow identifier to be explicitly configured for a mapping.
This can either be one of the identifier types specified in the
ILA draft or a value of ILA_ATYPE_USE_FORMAT which means the
identifier type is inferred from the identifier type field.
If a value other than ILA_ATYPE_USE_FORMAT is set for
Consolidate computing checksum diff into one function.
Add get_csum_diff_iaddr that computes the checksum diff between
an address argument and locator being written. get_csum_diff
calls this using the destination address in the IP header as
the argument.
Also moved ila_init_saved_csum to be close
Add checksum neutral auto that performs checksum neutral mapping
without using the C-bit. This is enabled by configuration of
a mapping.
The checksum neutral function has been split into
ila_csum_do_neutral_fmt and ila_csum_do_neutral_nofmt. The former
handles the C-bit and includes it in the adju
The identifier type and checksum neutral mapping bits are optional
in identifier formats. This patch set fixes the implementation to
make them optional and configurable.
Specific items:
- Clean up checksum diff code in ILA
- Add checksum neutral mapping auto so that checksum neutral
mappi
Hi Johan,
On Sun, Jul 09, 2017 at 01:08:58PM +0200, Johan Hovold wrote:
> A recent change fixing NFC device allocation itself introduced an
> error-handling bug by returning an error pointer in case device-id
> allocation failed. This is clearly broken as the callers still expected
> NULL to be re
> This interrupt construction is similar to how we handle
> interrupt controllers inside PCI bridges etc.
Hi Linus
Your interrupt handling is going in the right direction, but needs
further work. The PHY interrupt is a phy property, so should be in the
PHY node in device tree.
The Marvell driver
PHYs attached to DSAs may provide IRQs from GPIOs or other
interrupt controllers in the device tree. For these cases,
we need to go and grab the IRQ before registering the slave
so the PHY core can grab and enable this IRQ.
Cc: Antti Seppälä
Cc: Roman Yeryomin
Cc: Colin Leitner
Cc: Gabor Juhos
This adds a driver core for the Realtek SMI chips and a subdriver
for the RTL8366RB. I just added this chip simply because it is
all I can test.
The code is a massaged variant of the code that has been sitting
out-of-tree in OpenWRT for years in the absence of a proper switch
subsystem. I have tri
The Realtek SMI family is a set of DSA chips that provide
switching in routers. This binding just follows the pattern
set by other switches but with the introduction of an embedded
irqchip to demux and handle the interrupts fired by the single
line from the chip.
This interrupt construction is sim
The RTL8366RB is an ASIC with five internal PHYs for
LAN0..LAN3 and WAN. The PHYs are spawn off the main
device so they can be handled in a distributed manner
by the Realtek PHY driver. All that is really needed
is the power save feature enablement and letting the
PHY driver core pick up the IRQ fr
Hi folks,
I'm working a bit on this. Since DSA is big, complex and hard for
a novice I just wanted to throw what I have in my tree out there
so you can take a look at how I hacked this up and give me some
help how to continue.
I am running it for trials on the D-Link DIR-685 and it looks
fun, but
On Sun, Nov 5, 2017 at 6:56 AM, Hangbin Liu wrote:
> After commit 07f4c90062f8 ("tcp/dccp: try to not exhaust ip_local_port_range
> in connect()"), we will try to use even ports for connect(). Then If an
> application (seen clearly with iperf) opens multiple streams to the same
> destination IP an
On 2017-11-05 15:48, David Miller wrote:
> From: Vasily Averin
>> I doubt that pointer to freed net have value for someone except
>> developers, on the other hand it helps to speed up the problem
>> investigation.
>
> Any kernel pointer printed has value to attackers.
David, could you please adv
Hello,
I got a time to update from v4.10 to v4.14-rc and I've found IrDA is in
the staging (and it is scheduled to be removed).
I'm still using the driver nsc-ircc on Thinkpad T60p and the driver
pxaficp_ir (I have some kingsun-sir dongles and an use for irtty-sir
too). Actually I'm pretty d
Dieses ist eine Kopie der folgenden Nachricht, die an Contact Movida
International via MOVIDA gesendet wurde:
Dies ist eine Mailanfrage via https://movida-net.com/ von:
竺那姜
周末优惠不打烊,狂享加赠得意金!
每逢周六、周日,任意进行电子游艺游戏,次日即享加赠得意金,最高11000元。让您兴致连连,无比得意!
老牌信誉,大额无忧: www.6660605.com/?
常命不输于任何人论法术虽
On Sun, 2017-11-05 at 19:48 +0300, Vasily Averin wrote:
> On 2017-11-05 19:02, Trond Myklebust wrote:
> > On Sun, 2017-11-05 at 13:00 +0300, Vasily Averin wrote:
> > > Be sure that nfs_client_list and nfs_volume_list lists
> > > initialized
> > > in net_init hook were return to initial state in net
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
master
head: 2798b80b385384d51a81832556ee9ad25d175f9b
commit: 975e6e32215e6cbc09b65d762865b1a46e8e9103 [2025/2045] net: dsa: rework
switch parsing
config: x86_64-randconfig-u0-11060023 (attached as .config)
compiler: gcc
This patch refactors the ip6gre_xmit_{ipv4, ipv6}.
It is a prep work to add the ip6erspan tunnel.
Signed-off-by: William Tu
---
net/ipv6/ip6_gre.c | 124 -
1 file changed, 76 insertions(+), 48 deletions(-)
diff --git a/net/ipv6/ip6_gre.c b/net
Move two erspan functions to header file, erspan.h, so ipv6
erspan implementation can use it.
Signed-off-by: William Tu
---
include/net/erspan.h | 51 +
net/ipv4/ip_gre.c| 54 +---
2 files changed
The patch adds support for ERSPAN tunnel over ipv6.
Signed-off-by: William Tu
---
include/net/ip6_tunnel.h | 1 +
net/ipv6/ip6_gre.c | 266 ++-
2 files changed, 263 insertions(+), 4 deletions(-)
diff --git a/include/net/ip6_tunnel.h b/include/
The patch series add support for ERSPAN tunnel over ipv6. The first patch
refectors the existing ipv4 gre implementation and the second refactors the
ipv6 gre's xmit code. Finally the last patch introduces erspan protocol.
William Tu (3):
ip_gre: Refector the erpsan tunnel code.
ip6_gre: Ref
The patch adds ERSPAN type II tunnel support for IPv6.
Signed-off-by: William Tu
---
ip/ipaddress.c | 5 +++--
ip/iplink.c | 6 +++---
ip/link_gre6.c | 28 +++-
man/man8/ip-address.8.in | 1 +
man/man8/ip-link.8.in| 4
5 files
Be sure that all_clients list initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/sunrpc/sunrpc_syms.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
index c73de18..4a25658 100644
--- a/net/su
Be sure that packet.sklist initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/packet/af_packet.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index bec01a3..7ceb97c 100644
--- a/net/packet/af_pac
Be sure that tables list initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/netfilter/xt_recent.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/netfilter/xt_recent.c b/net/netfilter/xt_recent.c
index 245fa35..230d00f 100644
--- a/net/netf
Be sure that pndevs.list initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/phonet/pn_dev.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/phonet/pn_dev.c b/net/phonet/pn_dev.c
index 2cb4c5d..81b4eb0 100644
--- a/net/phonet/pn_dev.c
+++ b/
Be sure that htables array initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/netfilter/xt_hashlimit.c | 4
1 file changed, 4 insertions(+)
diff --git a/net/netfilter/xt_hashlimit.c b/net/netfilter/xt_hashlimit.c
index 5da8746..abef6b4 100644
---
Be sure that xt.tables array initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/netfilter/x_tables.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/net/netfilter/x_tables.c b/net/netfilter/x_tables.c
index d8571f4..8125363 100644
--- a
Be sure that instance_table array initialized in net_init hook
was return to initial state.
Signed-off-by: Vasily Averin
---
net/netfilter/nfnetlink_log.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c
index cad6498..c99f42
Be sure that lists initialized in net_init hook were return
to initial state.
Signed-off-by: Vasily Averin
---
net/netfilter/nf_tables_api.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c
index 64e1ee0..8219b2f 100644
--
Be sure that instance_table array initialized in net_init hook
was return to initial state.
Signed-off-by: Vasily Averin
---
net/netfilter/nfnetlink_queue.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/net/netfilter/nfnetlink_queue.c b/net/netfilter/nfnetlink_queue.c
index c979662.
Be sure that configs list initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/ipv4/netfilter/ipt_CLUSTERIP.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c
b/net/ipv4/netfilter/ipt_CLUSTERIP.c
index 17b4ca5..03
Signed-off-by: Vasily Averin
---
net/key/af_key.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/key/af_key.c b/net/key/af_key.c
index a00d607..3dffb89 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -3845,7 +3845,7 @@ static void __net_exit pfkey_net_exit(struct
Be sure that l2tp_session_hlist array initialized in net_init hook
was return to initial state.
Signed-off-by: Vasily Averin
---
net/l2tp/l2tp_core.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c
index 02d6110..1136341 100644
--- a/net/l2tp
Be sure that spi_byaddr and spi_byspi arrays initialized in net_init hook
were return to initial state
Signed-off-by: Vasily Averin
---
net/ipv6/xfrm6_tunnel.c | 12
1 file changed, 12 insertions(+)
diff --git a/net/ipv6/xfrm6_tunnel.c b/net/ipv6/xfrm6_tunnel.c
index 4e438bc..82801
Be sure that rules_ops list initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/core/fib_rules.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c
index 9a6d97c..5ab4fac 100644
--- a/net/core/fib_rule
Be sure that fib_notifier_ops list initilized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
net/core/fib_notifier.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/net/core/fib_notifier.c b/net/core/fib_notifier.c
index 4fc202d..1f57ec0 100644
--- a/ne
Be sure that nfs_client_list and nfs_volume_list lists initialized
in net_init hook were return to initial state in net_exit hook.
Signed-off-by: Vasily Averin
---
fs/nfs/client.c | 4
1 file changed, 4 insertions(+)
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 22880ef..e099a01 100
Be sure that bl_wq wait queue initialized in net_init hook
is not used anymore.
Signed-off-by: Vasily Averin
---
fs/nfs/blocklayout/rpc_pipefs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/nfs/blocklayout/rpc_pipefs.c b/fs/nfs/blocklayout/rpc_pipefs.c
index 9fb067a6..faae48f 100644
Be sure that lists initialized in net_init hook were return
to initial state.
Signed-off-by: Vasily Averin
---
drivers/net/ppp/ppp_generic.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
index e365866..10cee62 100644
--- a/d
Be sure that dev_base_head list initialized in net_init hook was return
to initial state
Signed-off-by: Vasily Averin
---
net/core/dev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/core/dev.c b/net/core/dev.c
index 588b473..198f137 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
Be sure that sock_list initialized in net_init hook was return
to initial state.
Signed-off-by: Vasily Averin
---
drivers/net/geneve.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c
index f640407..dece711 100644
--- a/drivers/net/geneve.c
+++ b/
Be sure that sock_list array initialized in net_init hook was return
to initial state
Signed-off-by: Vasily Averin
---
drivers/net/vxlan.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index d7c49cf..f72c1de 100644
--- a/drivers/net/vxlan.c
+
This patch set checks that lists initialized in net_init hooks were
return to initial state at end of net_exit hooks.
I hope such checks allows to detect leaked per-netns objects.
Also I hope that all new pernet_operations will inherit such checks too.
I assume that elements added into per-net li
1 - 100 of 163 matches
Mail list logo