[PATCH net-next] netfilter: conntrack: add a new NF_CT_EXT_EXPAND extension

2017-06-25 Thread Lin Zhang
In the current conntrack extend code, if we want to add a new extension, we must be add a new extension id and recompile kernel. I think that is not be convenient for users, so i add a new extension named NF_CT_EXT_EXPAND for supporting dynamic register/unregister expansion in runtime that means

Re: [PATCH v3 0/7] Isolate time_t data types for clock/timer syscalls

2017-06-25 Thread Al Viro
On Mon, Jun 26, 2017 at 03:35:25AM +0100, Al Viro wrote: > On Sat, Jun 24, 2017 at 11:45:01AM -0700, Deepa Dinamani wrote: > > The series aims at isolating data conversions of time_t based structures: > > struct timespec and struct itimerspec at user space boundaries. > > This helps to later change

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 10:05 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > Acked-by: David Ahern > And slave_validate is not used; it should be removed.

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 10:04 PM, David Ahern wrote: > On 6/25/17 3:56 PM, Matthias Schiffer wrote: >> Add support for extended error reporting. >> >> Signed-off-by: Matthias Schiffer >> --- > > > Acked-by: David Ahern > Actually, you are missing the chagne to br_port_slave_changelink.

Re: [PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 3/5] net: add netlink_ext_ack argument to rtnl_link_ops.validate

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: [PATCH net-next v2 2/5] net: add netlink_ext_ack argument to rtnl_link_ops.changelink

2017-06-25 Thread David Ahern
On 6/25/17 3:56 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer Acked-by: David Ahern

Re: [PATCH net-next v2 1/5] net: add netlink_ext_ack argument to rtnl_link_ops.newlink

2017-06-25 Thread David Ahern
On 6/25/17 3:55 PM, Matthias Schiffer wrote: > Add support for extended error reporting. > > Signed-off-by: Matthias Schiffer > --- Acked-by: David Ahern

Re: DNS (?) not working on G5 (64-bit powerpc) (was [net-next,v3,3/3] udp: try to avoid 2 cache miss on dequeue)

2017-06-25 Thread Michael Ellerman
Paolo Abeni writes: > Thank you! > > I'll submit formally the patch after some more testing. Thanks. > I noticed this version has entered the ppc patchwork, but I think that > the formal submission should go towards the net-next tree. Yeah it picks up all patches sent to the list. That's fine I

EMAIL UPDATE

2017-06-25 Thread IT Department
Recently, we have detect some unusual activity on your account and as a result, all email users are urged to update their email account within 24 hours of receiving this e-mail, please click the link http://www.beam.to/9687 to confirm that your email account is up to date with the institution

Re: BUG: KASAN: use-after-free in free_old_xmit_skbs

2017-06-25 Thread Jason Wang
On 2017年06月24日 06:32, Cong Wang wrote: On Fri, Jun 23, 2017 at 1:43 AM, Jason Wang wrote: On 2017年06月23日 02:53, Michael S. Tsirkin wrote: On Thu, Jun 22, 2017 at 08:15:58AM +0200, jean-philippe menil wrote: Hi Michael, from what i see, the race appear when we hit virtnet_reset in virtnet_

Re: [PATCH] net/icmp: restore source address if packet is NATed

2017-06-25 Thread David Miller
From: "Jason A. Donenfeld" Date: Mon, 26 Jun 2017 00:52:09 +0200 > On Sun, Jun 25, 2017 at 5:49 PM, David Miller wrote: >> You definitely can't just rewrite header fields here either. The >> SKB could be shared, for example. > > I was afraid of that. It's easy to rework this particular patch,

[PATCH NET V5 2/2] net: hns: Use phy_driver to setup Phy loopback

2017-06-25 Thread Lin Yun Sheng
Use function set_loopback in phy_driver to setup phy loopback when doing ethtool self test. Signed-off-by: Lin Yun Sheng --- drivers/net/ethernet/hisilicon/hns/hnae.h| 1 + drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 92 +++- 2 files changed, 26 insertions(+),

[PATCH NET V5 1/2] net: phy: Add phy loopback support in net phy framework

2017-06-25 Thread Lin Yun Sheng
This patch add set_loopback in phy_driver, which is used by Mac driver to enable or disable a phy. it also add a generic genphy_loopback function, which use BMCR loopback bit to enable or disable a phy. Signed-off-by: Lin Yun Sheng --- drivers/net/phy/marvell.c| 1 + drivers/net/phy/phy_dev

[PATCH NET V5 0/2] Add loopback support in phy_driver and hns ethtool fix

2017-06-25 Thread Lin Yun Sheng
This Patch Set add set_loopback in phy_driver and use it to setup loopback when doing ethtool phy self_test. Patch V5: Removing non loopback related code change. Patch V4: 1. Remove c45 checking 2. Add -ENOTSUPP when function pointer is null, take mutex in phy_l

Re: [PATCH NET V4 1/2] net: phy: Add phy loopback support in net phy framework

2017-06-25 Thread Yunsheng Lin
Hi, Andrew On 2017/6/24 21:44, Andrew Lunn wrote: >> @@ -1087,7 +1087,7 @@ int phy_suspend(struct phy_device *phydev) >> { >> struct phy_driver *phydrv = to_phy_driver(phydev->mdio.dev.driver); >> struct ethtool_wolinfo wol = { .cmd = ETHTOOL_GWOL }; >> -int ret = 0; >> +int ret

Re: [PATCH v6 05/21] net-next: stmmac: Add dwmac-sun8i

2017-06-25 Thread André Przywara
On 31/05/17 08:18, Corentin Labbe wrote: > The dwmac-sun8i is a heavy hacked version of stmmac hardware by > allwinner. > In fact the only common part is the descriptor management and the first > register function. Hi, I know I am a bit late with this, but while adapting the U-Boot driver to the

Re: [PATCH] net/icmp: restore source address if packet is NATed

2017-06-25 Thread Jason A. Donenfeld
Hi David, On Sun, Jun 25, 2017 at 5:49 PM, David Miller wrote: > This violates things on so many levels. Yes, indeed. > I think this kind of thing need to be hidden inside of netfilter, > it can do the rate limiting and stuff like that in the spot > where it makes the transformation and knows a

Re: Repeatable inet6_dump_fib crash in stock 4.12.0-rc4+

2017-06-25 Thread David Ahern
On 6/20/17 9:03 PM, David Ahern wrote: > On 6/20/17 5:41 PM, Ben Greear wrote: >> On 06/20/2017 11:05 AM, Michal Kubecek wrote: >>> On Tue, Jun 20, 2017 at 07:12:27AM -0700, Ben Greear wrote: On 06/14/2017 03:25 PM, David Ahern wrote: > On 6/14/17 4:23 PM, Ben Greear wrote: >> On 06/13

[PATCH] batman-adv: fix spelling mistake "ourselve" -> "ourself"

2017-06-25 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in batadv_dbg debug message Signed-off-by: Colin Ian King --- net/batman-adv/bat_v_ogm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/batman-adv/bat_v_ogm.c b/net/batman-adv/bat_v_ogm.c index 1e3dc374bfde..d6dbf67a

[PATCH net-next v2 1/5] net: add netlink_ext_ack argument to rtnl_link_ops.newlink

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 3 ++- drivers/net/bonding/bond_netlink.c | 3 ++- drivers/net/caif/caif_hsi.c | 3 ++- drivers/net/can/dev.c| 3 ++- d

[PATCH net-next v2 0/5] net: add netlink_ext_ack support to rtnl_link_ops

2017-06-25 Thread Matthias Schiffer
Same changes as http://patchwork.ozlabs.org/patch/780351/ , split into separate patches for each rtnl_link_ops field as requested. Matthias Schiffer (5): net: add netlink_ext_ack argument to rtnl_link_ops.newlink net: add netlink_ext_ack argument to rtnl_link_ops.changelink net: add netlink

[PATCH net-next v2 3/5] net: add netlink_ext_ack argument to rtnl_link_ops.validate

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/net/bonding/bond_netlink.c | 3 ++- drivers/net/can/dev.c | 3 ++- drivers/net/dummy.c| 3 ++- drivers/net/geneve.c | 3 ++- drivers/net/gtp.c | 3 ++

[PATCH net-next v2 5/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_validate

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- include/net/rtnetlink.h | 3 ++- net/core/rtnetlink.c| 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index baf99e173dca..abe6b733d473 10064

[PATCH net-next v2 4/5] net: add netlink_ext_ack argument to rtnl_link_ops.slave_changelink

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/net/bonding/bond_netlink.c | 3 ++- include/net/rtnetlink.h| 3 ++- net/bridge/br_netlink.c| 3 ++- net/core/rtnetlink.c | 3 ++- 4 files changed, 8 insertions(+), 4 delet

[PATCH net-next v2 2/5] net: add netlink_ext_ack argument to rtnl_link_ops.changelink

2017-06-25 Thread Matthias Schiffer
Add support for extended error reporting. Signed-off-by: Matthias Schiffer --- drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 7 --- drivers/net/bonding/bond_netlink.c | 7 --- drivers/net/caif/caif_hsi.c | 3 ++- drivers/net/can/dev.c|

[PATCH][-next] ath10k: fix a bunch of spelling mistakes in messages

2017-06-25 Thread Colin King
From: Colin Ian King Fix the following spelling mistakes in messages: syncronise -> synchronize unusally -> unusually addrress -> address inverval -> interval Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath10k/mac.c | 2 +- drivers/net/wireless/ath/ath10k/pci.c |

The best-selling weight loss aid pill on the market: you've been invited

2017-06-25 Thread joshd
In most cases, weight loss aid solutions are made within the guidelines set by the FDA, but our diet solution is completely different. It's completely safe and causes no side effects. The weight loss process is not fast and easy, our supplements are among the fastest-selling available. You hav

[PATCH] arcnet: fix spelling mistake "Ackknowledge" -> "Acknowledge"

2017-06-25 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in arc_printk message Signed-off-by: Colin Ian King --- drivers/net/arcnet/capmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/arcnet/capmode.c b/drivers/net/arcnet/capmode.c index a80f4eb9262d..b780be6f

Re: [PATCH v3 net] net: ipv6: reset daddr and dport in sk if connect() fails

2017-06-25 Thread Wei Wang
On Sun, Jun 25, 2017 at 8:46 AM, David Miller wrote: > From: Wei Wang > Date: Fri, 23 Jun 2017 15:25:37 -0700 > >> From: Wei Wang >> >> In __ip6_datagram_connect(), reset sk->sk_v6_daddr and inet->dport if >> error occurs. >> In udp_v6_early_demux(), check for sk_state to make sure it is in >> T

Email Update

2017-06-25 Thread IT
Recently, we have detect some unusual activity on your account and as a result, all email users are urged to update their email account within 24 hours of receiving this e-mail, please click the link http://www.beam.to/9687 to confirm that your email account is up to date with the institution

Re: [PATCH v2] net: macb: add fixed-link node support

2017-06-25 Thread David Miller
From: Michael Grzeschik Date: Fri, 23 Jun 2017 16:54:10 +0200 > In case the MACB is directly connected to a > non-mdio PHY/device, it should be possible to provide > a fixed link configuration in the DT. > > Signed-off-by: Michael Grzeschik Applied, thanks.

Re: pull-request: wireless-drivers-next 2017-06-25

2017-06-25 Thread David Miller
From: Kalle Valo Date: Sun, 25 Jun 2017 20:48:36 +0300 > yet another pull request to net-next for 4.13, more info in the signed > tag below. While doing a test merge on net-next I noticed git doing > quite a lot of auto-merging, maybe because of mac80211 API changes, but > luckily no conflicts. B

Re: [PATCH net-next 0/4] RFC 4960 Errata fixes

2017-06-25 Thread David Miller
From: Marcelo Ricardo Leitner Date: Fri, 23 Jun 2017 19:58:39 -0300 > This patchset contains fixes for 4 Errata topics from > https://tools.ietf.org/html/draft-ietf-tsvwg-rfc4960-errata-01 > Namely, sections: > 3.12. Order of Adjustments of partial_bytes_acked and cwnd > 3.22. Increase of parti

pull-request: wireless-drivers-next 2017-06-25

2017-06-25 Thread Kalle Valo
Hi Dave, yet another pull request to net-next for 4.13, more info in the signed tag below. While doing a test merge on net-next I noticed git doing quite a lot of auto-merging, maybe because of mac80211 API changes, but luckily no conflicts. But please do let me know if you have any problems. Pat

Re: [Patch net] tcp: reset sk_rx_dst in tcp_disconnect()

2017-06-25 Thread David Miller
From: Cong Wang Date: Sat, 24 Jun 2017 23:50:30 -0700 > We have to reset the sk->sk_rx_dst when we disconnect a TCP > connection, because otherwise when we re-connect it this > dst reference is simply overridden in tcp_finish_connect(). > > This fixes a dst leak which leads to a loopback dev ref

Re: Investment Consideration

2017-06-25 Thread John Hanan
Thank you for your time, We are looking for clients in your country with good business or project that requires financing to execute. Please get back to me if you are interested in this or you know anybody who has good business ideas but lack the necessary capital to fund his projects so we ca

Re: [PATCH] net: Remove ndo_dfwd_start_xmit

2017-06-25 Thread David Miller
From: Yuval Mintz Date: Sun, 25 Jun 2017 11:09:12 +0300 > Looks like commit f663dd9aaf9e ("net: core: explicitly select a txq before > doing l2 forwarding") > has removed the need for this dedicated xmit function [it even explicitly > states so in its commit log message] but it hasn't removed th

Get Fast certified loan

2017-06-25 Thread Certitude Loan Firm
Hello Mr. / Mrs, Certitude loan firm is a charity loan firm organize to help people in need of financial help. We give loans from the range of $1,000 - $70,000,000. Our loan is well insured and maximum security is our priority, Our interested rate is 2%. We offer the following types of loans to

Re: [PATCH net-next] net: add netlink_ext_ack support to rtnl_link_ops

2017-06-25 Thread David Miller
From: Matthias Schiffer Date: Sat, 24 Jun 2017 13:35:17 +0200 > The following functions are extended with a netlink_ext_ack argument to > allow extended error reporting: > > * validate > * newlink > * changelink > * slave_validate > * slave_changelink > > Signed-off-by: Matthias Schiffer Like

Re: [PATCH] net/icmp: restore source address if packet is NATed

2017-06-25 Thread David Miller
From: "Jason A. Donenfeld" Date: Sat, 24 Jun 2017 04:17:27 +0200 > The ICMP routines use the source address for two reasons: > > 1. Rate-limiting ICMP transmissions based on source address, so >that one source address cannot provoke a flood of replies. If >the source address

Re: [PATCH v3 net] net: ipv6: reset daddr and dport in sk if connect() fails

2017-06-25 Thread David Miller
From: Wei Wang Date: Fri, 23 Jun 2017 15:25:37 -0700 > From: Wei Wang > > In __ip6_datagram_connect(), reset sk->sk_v6_daddr and inet->dport if > error occurs. > In udp_v6_early_demux(), check for sk_state to make sure it is in > TCP_ESTABLISHED state. > Together, it makes sure unconnected UDP

Re: [PATCH 0/3][v2] net: qcom/emac: various minor improvements

2017-06-25 Thread David Miller
From: Timur Tabi Date: Fri, 23 Jun 2017 14:33:27 -0500 > A collection of minor fixes and features to the Qualcomm Technologies > EMAC network driver. > > Timur Tabi (3): > net: qcom/emac: add shutdown function > [v2] net: qcom/emac: do not reset the EMAC during initialization > net: qcom/e

Re: [PATCH net-next 2/2] af_iucv: Move sockaddr length checks to before accessing sa_family in bind and connect handlers

2017-06-25 Thread David Miller
From: Julian Wiedmann Date: Fri, 23 Jun 2017 19:32:28 +0200 > From: Mateusz Jurczyk > > Verify that the caller-provided sockaddr structure is large enough to > contain the sa_family field, before accessing it in bind() and connect() > handlers of the AF_IUCV socket. Since neither syscall enforc

Re: [PATCH net-next 1/2] net/iucv: improve endianness handling

2017-06-25 Thread David Miller
From: Julian Wiedmann Date: Fri, 23 Jun 2017 19:32:27 +0200 > From: Hans Wippel > > Use proper endianness conversion for an skb protocol assignment. Given > that IUCV is only available on big endian systems (s390), this simply > avoids an endianness warning reported by sparse. > > Signed-off-b

Re: [PATCH net-next] net: dsa: mv88e6xxx: fix error code in mv88e6390_serdes_power()

2017-06-25 Thread David Miller
From: Dan Carpenter Date: Fri, 23 Jun 2017 18:17:04 +0300 > We're accidentally returning the wrong variable. "cmode" is > uninitialized at this point so it causes a static checker warning. > > Fixes: 6335e9f2446b ("net: dsa: mv88e6xxx: mv88e6390X SERDES support") > Signed-off-by: Dan Carpenter

Re: [PATCH net-next v3 00/12] nfp: add flower app with representors

2017-06-25 Thread David Miller
From: Simon Horman Date: Fri, 23 Jun 2017 22:11:57 +0200 > this series adds a flower app to the NFP driver. Series applied, thanks Simon.

Re: [PATCH net] bnx2x: Don't log mc removal needlessly

2017-06-25 Thread David Miller
From: Yuval Mintz Date: Sat, 24 Jun 2017 15:37:00 +0300 > When mc configuration changes bnx2x_config_mcast() can return 0 for > success, negative for failure and positive for benign reason preventing > its immediate work, e.g., when the command awaits the completion of > a previously sent command

Re: [RFC PATCH net-next 1/3] ethtool: Add link down reason callback

2017-06-25 Thread Andrew Lunn
On Sun, Jun 25, 2017 at 02:59:24PM +0300, Gal Pressman wrote: > > > On Thu, Jun 22, 2017 at 11:09:04AM +0300, Gal Pressman wrote: > +enum { > +ETHTOOL_LINK_VENDOR_SPECIFIC = -1, /* Vendor specific issue > provided in vendor_reason */ > +ETHTOOL_LINK_NO_ISSUE, /

Re: [PATCH net-next 1/3] net: ethtool: add support for forward error correction modes

2017-06-25 Thread Gal Pressman
> ... > > SHOW FEC option: > root@tor: ethtool --show-fec swp1 > FEC parameters for swp1: > Active FEC encodings: RS > Configured FEC encodings: RS | BaseR > > ETHTOOL DEVNAME output modification: > > ethtool devname output: > root@tor:~# ethtool swp1 > Settings for swp1: > root@hpe-7712-03:~# e

Re: [PATCH] net: ethernet: stmmac: properly set PS bit in MII configurations during reset

2017-06-25 Thread Thomas Petazzoni
Hello Giuseppe, On Mon, 15 May 2017 16:27:34 +0200, Thomas Petazzoni wrote: > On Wed, 10 May 2017 09:18:17 +0200, Thomas Petazzoni wrote: > > > On Wed, 10 May 2017 09:03:12 +0200, Giuseppe CAVALLARO wrote: > > > > > > Please, read again my patch and the description of the problem that I > > >

Re: [RFC PATCH net-next 1/3] ethtool: Add link down reason callback

2017-06-25 Thread Gal Pressman
> On Thu, Jun 22, 2017 at 11:09:04AM +0300, Gal Pressman wrote: +enum { + ETHTOOL_LINK_VENDOR_SPECIFIC = -1, /* Vendor specific issue provided in vendor_reason */ + ETHTOOL_LINK_NO_ISSUE, /* No issue observed with link */ + ETHTOOL_LINK_REASON_UNKNOWN, /* Unknown reaso

Re: [PATCH] i40e: handle setting administratively set MAC address back to zero

2017-06-25 Thread Stefan Assmann
On 25.06.2017 08:21, Leon Romanovsky wrote: > On Fri, Jun 23, 2017 at 09:46:24AM +0200, Stefan Assmann wrote: >> When an administratively set MAC was previously set and should now be >> switched back to 00:00:00:00:00:00 the pf_set_mac flag did not get >> toggled back to false. >> As a result VFs w

[PATCH] net: Remove ndo_dfwd_start_xmit

2017-06-25 Thread Yuval Mintz
Looks like commit f663dd9aaf9e ("net: core: explicitly select a txq before doing l2 forwarding") has removed the need for this dedicated xmit function [it even explicitly states so in its commit log message] but it hasn't removed the definition of the ndo. Signed-off-by: Yuval Mintz CC: Jason Wa

inquiry

2017-06-25 Thread Khadov Amir Moh
-- Hello, My name is Khadov Amir Moh, a former resident of Birmingham UK. Please reach me for the details of an extremely important business proposition. Best regards, Khadov Amir Moh.