summaryrefslogtreecommitdiffstats
path: root/net/sctp/outqueue.c
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2011-08-07 09:11:00 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-07 22:52:32 -0700
commit797fd3913abf2f7036003ab8d3d019cbea41affd (patch)
treea2e6aee9a92754f11f33bab4e8f9deed3ffb94bf /net/sctp/outqueue.c
parent6602a4baf4d1a73cc4685a39ef859e1c5ddf654c (diff)
downloadtalos-obmc-linux-797fd3913abf2f7036003ab8d3d019cbea41affd.tar.gz
talos-obmc-linux-797fd3913abf2f7036003ab8d3d019cbea41affd.zip
netfilter: TCP and raw fix for ip_route_me_harder
TCP in some cases uses different global (raw) socket to send RST and ACK. The transparent flag is not set there. Currently, it is a problem for rerouting after the previous change. Fix it by simplifying the checks in ip_route_me_harder and use FLOWI_FLAG_ANYSRC even for sockets. It looks safe because the initial routing allowed this source address to be used and now we just have to make sure the packet is rerouted. As a side effect this also allows rerouting for normal raw sockets that use spoofed source addresses which was not possible even before we eliminated the ip_route_input call. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/outqueue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud