lkml.org 
[lkml]   [2022]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net-next 3/9] net: dsa: allow the DSA master to be seen and changed through rtnetlink
Date
On Wed, Aug 31, 2022 at 08:50:20PM -0700, Jakub Kicinski wrote:
> net/dsa/port.c: In function ‘dsa_port_change_master’:
> net/dsa/port.c:1414:13: warning: unused variable ‘port’ [-Wunused-variable]
> 1414 | int port = dp->index;
> | ^~~~

I did build patch by patch, but in the sea of stuff that got rebuilt
when I modified include/uapi/linux/if_link.h, I couldn't notice anything.

> I presume you had a look around what side effects setting rtnl_link_ops
> will have? Should .netns_refund be true?

I'm not quite sure what other side effects there will be. The netns_refund
property should be set to true, yes.
\
 
 \ /
  Last update: 2022-09-01 15:34    [W:0.056 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site