]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
TPROXY: supply a struct flowi->flags argument in inet_sk_rebuild_header()
authorBalazs Scheidler <bazsi@balabit.hu>
Thu, 20 Nov 2008 09:08:06 +0000 (01:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 09:08:06 +0000 (01:08 -0800)
commitc82838458200ec4167ce7083b0a17474150c5bf7
tree5498ee0aa72c28c8e712fe5a30cd5e48aac1b9bf
parenta134f85c131ffd56720e38af2967ec6265480757
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: Balazs Scheidler <bazsi@balabit.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/af_inet.c