]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rtnetlink: ifinfo: perform strict checks also for doit handler
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 18 Jan 2019 18:46:16 +0000 (10:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Jan 2019 18:09:58 +0000 (10:09 -0800)
commit9b3757b0325ac52d700ab007ab372b920f7c004a
treeaf534eec672bff6e06763693d60e65c0b3fb0a1a
parent6300acb2eb560496e3560ba709c4f3ea042dadbc
rtnetlink: ifinfo: perform strict checks also for doit handler

Make RTM_GETLINK's doit handler use strict checks when
NETLINK_F_STRICT_CHK is set.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c