]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix GSO for IPv6
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Fri, 15 Jul 2016 19:40:02 +0000 (16:40 -0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jul 2016 05:02:09 +0000 (22:02 -0700)
commit1233f9a876a21e9fa6c281739e432805a5848e49
tree2d8301b1cdf6ee86ad4e296a4dc67eb7ce2c1b11
parent1eaf8468de7a290e488747b7bf75409d02bc126e
sctp: fix GSO for IPv6

commit fe68150eda3c ("sctp: Add GSO support") didn't register SCTP GSO
offloading for IPv6 and yet didn't put any restrictions on generating
GSO packets while in IPv6, which causes all IPv6 GSO'ed packets to be
silently dropped.

The fix is to properly register the offload this time.

Fixes: fe68150eda3c ("sctp: Add GSO support")
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/offload.c