The functionality seems OK to me, though there are some style/formatting issues, which checkpatch.pl picks up:
> ./scripts/checkpatch.pl > net-next-tcp-accept-RST-if-SEQ-matches-right-edge-of-right-most-SACK-block.patch WARNING: line over 80 characters #73: FILE: net/ipv4/tcp_input.c:5199: + /* RFC 5961 3.2 (extended to match against SACK too if available): WARNING: line over 80 characters #74: FILE: net/ipv4/tcp_input.c:5200: + * If seq num exactly matches RCV.NXT or the right-most SACK block, WARNING: line over 80 characters #88: FILE: net/ipv4/tcp_input.c:5213: + for (this_sack = 1; this_sack < tp->rx_opt.num_sacks; ++this_sack) { WARNING: line over 80 characters #89: FILE: net/ipv4/tcp_input.c:5214: + max_sack = after(sp[this_sack].end_seq, max_sack) ? WARNING: line over 80 characters #90: FILE: net/ipv4/tcp_input.c:5215: + sp[this_sack].end_seq : max_sack; total: 0 errors, 5 warnings, 0 checks, 40 lines checked neal