diff options
author | Patrick McHardy <kaber@trash.net> | 2012-08-09 10:08:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-21 09:28:00 -0700 |
commit | 7ea0513ee0bc8c8e85ade576caaf13a58b2cb55d (patch) | |
tree | 6873907a8edb14ccb9144669c2473675fd0ad9a4 /net/netfilter | |
parent | 6ebe631c590aa6c5e61ccec9ab1808f99705f9d5 (diff) |
netfilter: nf_nat_sip: fix via header translation with multiple parameters
commit f22eb25cf5b1157b29ef88c793b71972efc47143 upstream.
Via-headers are parsed beginning at the first character after the Via-address.
When the address is translated first and its length decreases, the offset to
start parsing at is incorrect and header parameters might be missed.
Update the offset after translating the Via-address to fix this.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions