• Herbert Xu's avatar
    [IPV4]: Make ipt_REJECT use icmp_send again. · 2c7ec252
    Herbert Xu authored
    As it is ipt_REJECT doesn't work at all with IPsec.  Despite my efforts
    previously in making the policy lookups work there I neglected to change
    the final call to dst_output so the policy lookup is useless.
    
    ipt_REJECT also had a number of deviations from icmp_send which seems to
    be unjustified.  For examples it ignored source routing IP options.
    
    There was a bug in icmp_send too :) It didn't set the ICMP type/code
    values for the policy lookup.
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2c7ec252
icmp.c 27.9 KB