[BACK]Return to udp_usrreq.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/udp_usrreq.c between version 1.138.2.4 and 1.138.2.5

version 1.138.2.4, 2007/09/03 14:43:13 version 1.138.2.5, 2007/12/07 17:34:33
Line 1029  udp_ctloutput(int op, struct socket *so,
Line 1029  udp_ctloutput(int op, struct socket *so,
   
                 switch (optname) {                  switch (optname) {
                 case UDP_ENCAP:                  case UDP_ENCAP:
                         if (m == NULL || m->m_len < sizeof (int)) {                          if (m == NULL || m->m_len != sizeof(int)) {
                                 error = EINVAL;                                  error = EINVAL;
                                 break;                                  break;
                         }                          }

Legend:
Removed from v.1.138.2.4  
changed lines
  Added in v.1.138.2.5

CVSweb <webmaster@jp.NetBSD.org>