Diff for /fwsync/driver/fwsync_workers.c between versions 1.12 and 1.15

version 1.12, 2022/08/13 18:22:55 version 1.15, 2022/08/18 12:34:00
Line 277  int Line 277  int
 fwsync_alias_sync(const void *arg, const void *extdata)  fwsync_alias_sync(const void *arg, const void *extdata)
 {  {
         struct fws_sndpkt *pkt;          struct fws_sndpkt *pkt;
           const struct cfg_nat *t = arg;
   
         DTRACE();          DTRACE();
   
Line 294  fwsync_alias_sync(const void *arg, const void *extdata Line 295  fwsync_alias_sync(const void *arg, const void *extdata
                 return EAGAIN;                  return EAGAIN;
         }          }
   
        // TODO: xxx        printf("%s: pkt=%p t=%p\n", __func__, pkt, t->if_name);
 
         LIBALIAS_LOCK(t->lib);
         AddLink(t->lib, pkt->sp_proto.fws_saddr, pkt->sp_proto.fws_daddr, pkt->sp_proto.fws_aaddr, 
                         pkt->sp_proto.fws_sport, pkt->sp_proto.fws_dport, pkt->sp_proto.fws_aport, 
                         pkt->sp_proto.fws_linktype | LINK_SYNC_MASK);
         LIBALIAS_UNLOCK(t->lib);
   
         free(pkt, M_FWSYNC);          free(pkt, M_FWSYNC);
         return 0;          return 0;

Removed from v.1.12  
changed lines
  Added in v.1.15


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>