[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.57 and 1.60

version 1.57, 2000/01/31 10:39:26 version 1.60, 2000/02/02 23:28:09
Line 1309  udp_usrreq(so, req, m, nam, control, p)
Line 1309  udp_usrreq(so, req, m, nam, control, p)
                 return (in_control(so, (long)m, (caddr_t)nam,                  return (in_control(so, (long)m, (caddr_t)nam,
                     (struct ifnet *)control, p));                      (struct ifnet *)control, p));
   
           if (req == PRU_PURGEIF) {
                   in_purgeif((struct ifnet *)control);
                   in_pcbpurgeif(&udbtable, (struct ifnet *)control);
                   return (0);
           }
   
         s = splsoftnet();          s = splsoftnet();
         inp = sotoinpcb(so);          inp = sotoinpcb(so);
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
Line 1342  udp_usrreq(so, req, m, nam, control, p)
Line 1348  udp_usrreq(so, req, m, nam, control, p)
                 inp = sotoinpcb(so);                  inp = sotoinpcb(so);
                 inp->inp_ip.ip_ttl = ip_defttl;                  inp->inp_ip.ip_ttl = ip_defttl;
 #ifdef IPSEC  #ifdef IPSEC
                 error = ipsec_init_policy(&inp->inp_sp);                  error = ipsec_init_policy(so, &inp->inp_sp);
                 if (error != 0) {                  if (error != 0) {
                         in_pcbdetach(inp);                          in_pcbdetach(inp);
                         break;                          break;

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.60

CVSweb <webmaster@jp.NetBSD.org>