Skip to content

ipv6: Do route updating for redirect in ndisc layer

Duan Jiong linux-sctp netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 6 repliesIn review
  2. v26 patches 9 repliesSuperseded
  3. v111 patches 5 repliesSuperseded

Changes in v3 from the cover letter

1.del the ICMP6_INC_STATS_BH error count, these are in fact
no errors.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ipv6: del the statements for updating route in, (dccp|tcp|sctp)_v6_errnet/dccp/ipv6.c net/ipv6/tcp_ipv6.c net/sctp/input.c +1 more+10 -301 reply
2/6ipv6: just match on ICMPV6_PKT_TOOBIG in those err_handlenet/dccp/ipv6.c net/ipv6/ah6.c net/ipv6/esp6.c +1 more+6 -280 replies
3/6ipv6: del statements for dealing with NDISC_REDIRECTnet/ipv6/icmp.c+0 -20 replies
4/6ip6tnl: move route updating for redirect to ndisc layernet/ipv6/ip6_tunnel.c+0 -50 replies
5/6ipv6: modify the err to 0 when dealing with, NDISC_REDIRECTnet/ipv6/icmp.c net/ipv6/raw.c net/ipv6/udp.c+4 -40 replies
6/6ipv6: Do route updating for redirect in ndisc layerinclude/net/ip6_route.h net/ipv6/ndisc.c net/ipv6/route.c+4 -340 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/6] ipv6: Do route updating for redirect in ndisc layer

From: Duan Jiong <[email protected]>

the ip6_redirect() could be replaced with ip6_redirect_no_header(), we could always use ip6_redirect() for route updating in ndisc layer and use the data of the redirected header option just for finding the socket to be notified and then notify user in protocols' err_handler.

---
Changes for v3:
1.del the ICMP6_INC_STATS_BH error count, these are in fact
no errors.

Changes for v2:
1.handle the update of the NDISC_REDIRECT error code directly in
icmpv6_err_convert.
2.squash some patchs into one patch.
3.modify the subject of those patchs.

Duan Jiong (6):
ipv6: del the statements for updating route in (dccp|tcp|sctp)_v6_err
ipv6: just match on ICMPV6_PKT_TOOBIG in those err_handle
ipv6: del statements for dealing with NDISC_REDIRECT
ip6tnl: move route updating for redirect to ndisc layer
ipv6: modify the err to 0 when dealing with NDISC_REDIRECT
ipv6: Do route updating for redirect in ndisc layer

 include/net/ip6_route.h |  3 ---
 net/dccp/ipv6.c         | 13 +------------
 net/ipv6/ah6.c          |  9 ++-------
 net/ipv6/esp6.c         |  9 ++-------
 net/ipv6/icmp.c         |  5 +++--
 net/ipv6/ip6_tunnel.c   |  5 -----
 net/ipv6/ipcomp6.c      |  9 ++-------
 net/ipv6/ndisc.c        |  6 ++----
 net/ipv6/raw.c          |  3 +--
 net/ipv6/route.c        | 29 ++---------------------------
 net/ipv6/tcp_ipv6.c     | 12 ++++--------
 net/ipv6/udp.c          |  2 --
 net/sctp/input.c        | 12 ------------
 net/sctp/ipv6.c         |  6 +++---
 14 files changed, 22 insertions(+), 101 deletions(-)
Signature · 1 line
1.8.3.1