diff options
author | David S. Miller <davem@davemloft.net> | 2018-12-20 16:42:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-20 16:42:39 -0800 |
commit | 7de333090a803a6678c3848d4eed1031bbc3dc95 (patch) | |
tree | 2514d96e1b568a191ea18700470972e7a439c85a /include/linux/netlink.h | |
parent | 639c1b2625af66501b24c8082231a83d4f5ad56b (diff) | |
parent | 676f4bb168ca855adb957ad7f470984d9391c320 (diff) |
Merge branch 'ipv4-Prevent-user-triggerable-warning'
Ido Schimmel says:
====================
net: ipv4: Prevent user triggerable warning
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.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netlink.h')
0 files changed, 0 insertions, 0 deletions