aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAnumula Murali Mohan Reddy <anumula@chelsio.com>2024-12-06 11:50:14 +0530
committerJakub Kicinski <kuba@kernel.org>2024-12-09 16:12:43 -0800
commit356983f569c1f5991661fc0050aa263792f50616 (patch)
tree1dc89c9dc73d4c878babef50ef7b9bfe002eef2c /net/unix/af_unix.c
parentb4906787d49b9bfaa277ea919feffbc7cfaee4eb (diff)
downloadlinux-356983f569c1f5991661fc0050aa263792f50616.tar.gz
linux-356983f569c1f5991661fc0050aa263792f50616.tar.bz2
linux-356983f569c1f5991661fc0050aa263792f50616.zip
cxgb4: use port number to set mac addr
t4_set_vf_mac_acl() uses pf to set mac addr, but t4vf_get_vf_mac_acl() uses port number to get mac addr, this leads to error when an attempt to set MAC address on VF's of PF2 and PF3. This patch fixes the issue by using port number to set mac address. Fixes: e0cdac65ba26 ("cxgb4vf: configure ports accessible by the VF") Signed-off-by: Anumula Murali Mohan Reddy <anumula@chelsio.com> Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241206062014.49414-1-anumula@chelsio.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions