net_ip: note an oversight
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Feb 2016 20:00:06 +0000 (20:00 +0000)
committerAlan Cox <alan@linux.intel.com>
Thu, 11 Feb 2016 20:00:06 +0000 (20:00 +0000)
Kernel/net_ip.c

index d89bec3..f9ae660 100644 (file)
@@ -49,6 +49,11 @@ int ip_output(void *pbuf, uint16_t plen, void *dbuf, uint16_t dlen)
      careful to buffer the receive side while queueing output */
 }
 
+static int ip_outions(void)
+{
+  return 0;
+}
+
 void ip_rcv(void)
 {
   uint16_t len = pkt_left;
@@ -70,7 +75,7 @@ void ip_rcv(void)
     if (ip_options())
       return;
   /* No frags for now (memory limits on 8bit) */
-  if (iph.frag_off)
+  if (iph.frag_off)    /* FIXME: check MF and FO */
     return;
   if (iph.daddr == 0xFFFFFFFF)
     pkt_type = PKT_BROADCAST;