Re: [PATCH] net: core: explicitly call linkwatch_fire_event to speed up the startup of network services

2020-09-15 Thread Wen Yang
on 2020/8/6 PM5:09, Wen Yang wrote: 在 2020/8/5 上午6:58, David Miller 写道: From: Wen Yang Date: Sat,  1 Aug 2020 16:58:45 +0800 diff --git a/net/core/link_watch.c b/net/core/link_watch.c index 75431ca..6b9d44b 100644 --- a/net/core/link_watch.c +++ b/net/core/link_watch.c @@ -98,6 +98,9

Re: [PATCH] net: core: explicitly call linkwatch_fire_event to speed up the startup of network services

2020-08-06 Thread Wen Yang
在 2020/8/5 上午6:58, David Miller 写道: From: Wen Yang Date: Sat, 1 Aug 2020 16:58:45 +0800 diff --git a/net/core/link_watch.c b/net/core/link_watch.c index 75431ca..6b9d44b 100644 --- a/net/core/link_watch.c +++ b/net/core/link_watch.c @@ -98,6 +98,9 @@ static bool linkwatch_urgent_event

[PATCH] net: core: explicitly call linkwatch_fire_event to speed up the startup of network services

2020-08-01 Thread Wen Yang
educed from 366ms to 50ms. Signed-off-by: Wen Yang Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Andrew Lunn Cc: Eric Dumazet Cc: Jiri Pirko Cc: Leon Romanovsky Cc: Julian Wiedmann Cc: netdev@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- net/core/link_watch.c | 3 +++ net/core/rtn

[PATCH v2] net: dsa: fix a leaked reference by adding missing of_node_put

2019-02-24 Thread Wen Yang
release within this function. ./net/dsa/dsa2.c:639:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 618, but without a corresponding object release within this function. Signed-off-by: Wen Yang Reviewed-by: Vivien Didelot Reviewed-by: "David S. M

[PATCH 4/5] net: xilinx: fix a leaked reference by adding missing of_node_put

2019-02-21 Thread Wen Yang
pointer with refcount incremented on line 1569, but without a corresponding object release within this function. Signed-off-by: Wen Yang Cc: Anirudha Sarangi Cc: John Linn Cc: "David S. Miller" Cc: Michal Simek Cc: netdev@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 3/5] mt76: fix a leaked reference by adding a missing of_node_put

2019-02-21 Thread Wen Yang
without a corresponding object release within this function. Signed-off-by: Wen Yang Cc: Felix Fietkau Cc: Lorenzo Bianconi Cc: Kalle Valo Cc: "David S. Miller" Cc: Matthias Brugger Cc: linux-wirel...@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org

[PATCH 5/5] net: dsa: fix a leaked reference by adding missing of_node_put

2019-02-21 Thread Wen Yang
release within this function. ./net/dsa/dsa2.c:639:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 618, but without a corresponding object release within this function. Signed-off-by: Wen Yang Cc: Andrew Lunn Cc: Vivien Didelot Cc: Florian Fainelli

[PATCH 2/5] net: mscc: ocelot: fix a leaked reference by adding a missing of_node_put

2019-02-21 Thread Wen Yang
of_node_put; acquired a node pointer with refcount incremented on line 249, but without a corresponding object release within this function. Signed-off-by: Wen Yang Cc: Alexandre Belloni Cc: Microchip Linux Driver Support Cc: "David S. Miller" Cc: netdev@vger.kernel.org Cc:

[PATCH 1/5] net: dsa: fix a leaked reference by adding a missing of_node_put

2019-02-21 Thread Wen Yang
/rtl8366rb.c:561:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 501, but without a corresponding object release within this function. Signed-off-by: Wen Yang Cc: Linus Walleij Cc: Andrew Lunn Cc: Vivien Didelot Cc: Florian Fainelli Cc: "Da

[PATCH] net/ibmvnic: Remove tests of member address

2018-12-10 Thread Wen Yang
ethernet/ibm/ibmvnic.c: test of a variable/field address Since such statements always return true, they are redundant. Signed-off-by: Wen Yang CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Michael Ellerman CC: Thomas Falcon CC: John Allen CC: "David S. Miller" CC: linuxppc

[PATCH] batman-adv: fix null pointer dereference in batadv_gw_election

2018-11-29 Thread Wen Yang
-off-by: Wen Yang Reviewed-by: Tan Hu --- net/batman-adv/gateway_client.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c index 140c61a..d80ef1c 100644 --- a/net/batman-adv/gateway_client.c