Patch #1 prevents a user triaggerable warning in the flow dissector by setting 'skb->dev' in skbs used for IPv4 output route get requests.
Patch #2 adds a test case that triggers the warning without the first patch. I have audited all the RTM_GETROUTE handlers and could not find any other callpath where an skb is passed to the flow dissector with both 'skb->dev' and 'skb->sk' cleared. Ido Schimmel (2): net: ipv4: Set skb->dev for output route resolution selftests: rtnetlink: Add a test case for multipath route get net/ipv4/route.c | 1 + tools/testing/selftests/net/rtnetlink.sh | 15 +++++++++++++++ 2 files changed, 16 insertions(+) -- 2.20.0