Skip to content
Commit c8283845 authored by Balazs Scheidler's avatar Balazs Scheidler Committed by David S. Miller
Browse files

TPROXY: supply a struct flowi->flags argument in inet_sk_rebuild_header()



    inet_sk_rebuild_header() does a new route lookup if the dst_entry
    associated with a socket becomes stale. However inet_sk_rebuild_header()
    didn't use struct flowi->flags, causing the route lookup to
    fail for foreign-bound IP_TRANSPARENT sockets, causing an error
    state to be set for the sockets in question.

Signed-off-by: default avatarBalazs Scheidler <bazsi@balabit.hu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a134f85c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment