]> err.no Git - linux-2.6/blobdiff - net/ipv4/ip_output.c
[NETFILTER]: SNMP helper: fix debug module param type
[linux-2.6] / net / ipv4 / ip_output.c
index 8dcba3887f04eb647df01ae404b3b9bda955408d..cff9c3a72daf254013b7ae80cb5761e04a733a2f 100644 (file)
@@ -904,7 +904,7 @@ alloc_new_skb:
                         * because we have no idea what fragment will be
                         * the last.
                         */
-                       if (datalen == length)
+                       if (datalen == length + fraggap)
                                alloclen += rt->u.dst.trailer_len;
 
                        if (transhdrlen) {