Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2003 03:41:43 -0800 (PST)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if_gre.c if_gre.h src/sys/netinet ip_gre.c
Message-ID:  <200312301141.hBUBfhNf012521@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
sobomax     2003/12/30 03:41:43 PST

  FreeBSD src repository

  Modified files:
    sys/net              if_gre.c if_gre.h 
    sys/netinet          ip_gre.c 
  Log:
  Sync with NetBSD:
  
  if_gre.c rev.1.41-1.49
  
   o Spell output with two ts.
   o Remove assigned-to but not used variable.
   o fix grammatical error in a diagnostic message.
   o u_short -> u_int16_t.
   o gi_len is ip_len, so it has to be network byteorder.
  
  if_gre.h rev.1.11-1.13
  
   o prototype must not have variable name.
   o u_short -> u_int16_t.
   o Spell address with two d's.
  
  ip_gre.c rev.1.22-1.29
  
   o KNF - return is not a function.
   o The "osrc" variable in gre_mobile_input() is only ever set but not
     referenced; remove it.
   o correct (false) assumptions on mbuf chain.  not sure if it really helps, but
     anyways, it is necessary to perform m_pullup.
   o correct arg to m_pullup (need to count IP header size as well).
   o remove redundant adjustment of m->m_pkthdr.len.
   o clear m_flags just for safety.
   o tabify.
   o u_short -> u_int16_t.
  
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.17      +11 -12    src/sys/net/if_gre.c
  1.8       +3 -3      src/sys/net/if_gre.h
  1.12      +45 -22    src/sys/netinet/ip_gre.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312301141.hBUBfhNf012521>