diff options
author | ae <ae@FreeBSD.org> | 2014-02-06 10:48:55 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-02-06 10:48:55 +0000 |
commit | 88938f44a008c777d8811442d0121c4edd7c943d (patch) | |
tree | dd679f50bed1fd304bd3220b83a55fcba1493720 /lib/libc/gen | |
parent | d65cbb18772b973f3f49fb98b7dfa730f38b8aac (diff) | |
download | FreeBSD-src-88938f44a008c777d8811442d0121c4edd7c943d.zip FreeBSD-src-88938f44a008c777d8811442d0121c4edd7c943d.tar.gz |
MFC r260702 (by melifaro):
Fix ipfw fwd for IPv4 traffic broken by r249894.
Problem case:
Original lookup returns route with GW set, so gw points to
rte->rt_gateway.
After that we're changing dst and performing lookup another time.
Since fwd host is most probably directly reachable, resulting
rte does not contain rt_gateway, so gw is not set. Finally, we
end with packet transmitted to proper interface but wrong
link-layer address.
Diffstat (limited to 'lib/libc/gen')
0 files changed, 0 insertions, 0 deletions