aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2024-10-21 11:32:30 -0700
committerPaolo Abeni <[email protected]>2024-10-29 11:54:57 +0100
commit2d34429d14f9d09b38a8bee6a972a07228378df6 (patch)
treeae708096cc63b2482344eae1b2566b5e7bf4e7a4 /tools/perf/scripts/python/libxed.py
parent26d8db55eeacb7dc78672523f57825916d203de4 (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 <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions