Thread (12 messages) 12 messages, 3 authors, 2021-05-31

Re: [RFC] add extack errors for iptoken

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-04-01 17:47:00

On Thu, 1 Apr 2021 08:31:05 -0600
David Ahern [off-list ref] wrote:
On 3/31/21 9:49 PM, Stephen Hemminger wrote:
quoted
@@ -5681,14 +5682,29 @@ static int inet6_set_iftoken(struct inet6_dev *idev, struct in6_addr *token)
 
 	ASSERT_RTNL();
 
-	if (!token)
+	if (!token) {  
You forgot to add a message here.
This branch is unreachable, function is  only called from place where it is not NULL.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help