diff options
author | David S. Miller <davem@davemloft.net> | 2018-04-13 19:17:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-13 19:17:27 +0300 |
commit | c5042dacec877a5cbade94ec29016fd43d5f6c78 (patch) | |
tree | 7143db7e1e7c2286a02f5f03a19bb0935e24456f /drivers/net/ethernet/sfc/rx.c | |
parent | 9267c430c6b6f4c0120e3c6bb847313d633f02a6 (diff) | |
parent | f726214d9b23e5fce8c11937577a289a3202498f (diff) | |
download | linux-c5042dacec877a5cbade94ec29016fd43d5f6c78.tar.xz |
Merge branch 'l2tp-remove-unsafe-calls-to-l2tp_tunnel_find_nth'
Guillaume Nault says:
====================
l2tp: remove unsafe calls to l2tp_tunnel_find_nth()
Using l2tp_tunnel_find_nth() is racy, because the returned tunnel can
go away as soon as this function returns. This series introduce
l2tp_tunnel_get_nth() as a safe replacement to fixes these races.
With this series, all unsafe tunnel/session lookups are finally gone.
====================
Acked-by: Jason Wang <jasowang@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/rx.c')
0 files changed, 0 insertions, 0 deletions