• Masahide NAKAMURA's avatar
    [IPV6] MIP6: Ignore to report if mobility headers is rejected. · 01be8e5d
    Masahide NAKAMURA authored
    Ignore to report user-space for known mobility headers rejected by
    destination options header transformation.
    Mobile IPv6 specification (RFC3775) says that mobility header
    is used with destination options header carrying home address option
    only for binding update message. Other type message cannot be used
    and node must drop it silently (and must not send binding error) if
    receving such packet.
    To achieve it, (1) application should use transformation policy and
    wild-card states to catch binding update message prior other packets
    (2) kernel doesn't report the reject to user-space not to send
    binding error message by application.
    This patch is for (2).
    Based on MIPL2 kernel patch.
    
    This patch was also written by: Ville Nuorvala <vnuorval@tcs.hut.fi>
    Signed-off-by: default avatarMasahide NAKAMURA <nakam@linux-ipv6.org>
    Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    01be8e5d
mip6.c 13.1 KB