]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ip_output: account for fraggap when checking to add trailer_len
authorZach Brown <zach.brown@oracle.com>
Fri, 14 Apr 2006 23:04:18 +0000 (16:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Apr 2006 23:04:18 +0000 (16:04 -0700)
commit7f9683d524bee37a32327ff563bd181bda02e42f
tree3e491b16332bbd92c0c017a0d8d1f024226a3467
parent444572d739c24ea8618bf2eea9495dce3f60f944
[PATCH] ip_output: account for fraggap when checking to add trailer_len

During other work I noticed that ip_append_data() seemed to be forgetting to
include the frag gap in its calculation of a fragment that consumes the rest of
the payload.  Herbert confirmed that this was a bug that snuck in during a
previous rework.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c