cvs commit: src/sys/net if_gre.c if_gre.h src/sys/netinet ip_gre.c

Maxim Sobolev sobomax at FreeBSD.org
Tue Dec 30 03:41:44 PST 2003


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


More information about the cvs-src mailing list