2016-03-04 23:05:04

by Alexey Khoroshilov

[permalink] [raw]
Subject: Suspicious code in tun_flow_update()

Hello,

If tun_flow_find() successfully finds tun_flow_entry,
tun_flow_update() updates the entry in place.

Is such usage of RCU safe here?

Found by Linux Driver Verification project (linuxtesting.org).

--
Alexey Khoroshilov
Linux Verification Center, ISPRAS