Index: uspace/srv/net/inetsrv/pdu.c
===================================================================
--- uspace/srv/net/inetsrv/pdu.c	(revision 5a324d992b3382c26e5d9d448d8c857d73a4a6b4)
+++ uspace/srv/net/inetsrv/pdu.c	(revision 8e7c9fe2061521836dfdd71c2a3c2786b6fefa3e)
@@ -106,8 +106,8 @@
 {
 	/* Upper bound for fragment offset field */
-	size_t fragoff_limit = 1 << (FF_FRAGOFF_h - FF_FRAGOFF_l);
+	size_t fragoff_limit = 1 << (FF_FRAGOFF_h - FF_FRAGOFF_l + 1);
 	
 	/* Verify that total size of datagram is within reasonable bounds */
-	if (offs + packet->size > FRAG_OFFS_UNIT * fragoff_limit)
+	if (packet->size > FRAG_OFFS_UNIT * fragoff_limit)
 		return ELIMIT;
 	
