]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: Udate fib_table_lookup tracepoint
authorDavid Ahern <dsahern@gmail.com>
Thu, 24 May 2018 00:08:47 +0000 (17:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 03:00:31 +0000 (23:00 -0400)
commit6fcea4a84944f1d6b364e425e667cb3bb4cff820
treecbc86ca215b76f9206669ef2206a29314bc1b268
parentd754ca0139519853454abde32c98fd0f03143562
net/ipv4: Udate fib_table_lookup tracepoint

Commit bae0f3db8328 ("ipv4: fib_rules: support match on sport, dport
and ip proto") added support for protocol and ports to FIB rules.
Update the FIB lookup tracepoint to dump the parameters.

In addition, make the IPv4 tracepoint similar to the IPv6 one where
the lookup parameters and result are dumped in 1 event. It is much
easier to use and understand the outcome of the lookup.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/fib.h
net/ipv4/fib_trie.c