• Patrick McHardy's avatar
    [NETFILTER]: nf_nat_sip: split up SDP mangling · 4ab9e64e
    Patrick McHardy authored
    
    
    The SDP connection addresses may be contained in the payload multiple
    times (in the session description and/or once per media description),
    currently only the session description is properly updated. Split up
    SDP mangling so the function setting up expectations only updates the
    media port, update connection addresses from media descriptions while
    parsing them and at the end update the session description when the
    final addresses are known.
    Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4ab9e64e