diff options
| author | 2024-10-21 11:32:30 -0700 | |
|---|---|---|
| committer | 2024-10-29 11:54:57 +0100 | |
| commit | 2d34429d14f9d09b38a8bee6a972a07228378df6 (patch) | |
| tree | ae708096cc63b2482344eae1b2566b5e7bf4e7a4 /scripts/Makefile.thinlto | |
| parent | rtnetlink: Define RTNL_FLAG_DOIT_PERNET for per-netns RTNL doit(). (diff) | |
ipv4: Factorise RTM_NEWADDR validation to inet_validate_rtm().
rtm_to_ifaddr() validates some attributes, looks up a netdev,
allocates struct in_ifaddr, and validates IFA_CACHEINFO.
There is no reason to delay IFA_CACHEINFO validation.
We will push RTNL down to inet_rtm_newaddr(), and then we want
to complete rtnetlink validation before rtnl_net_lock().
Let's factorise the validation parts.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
