]> git.neil.brown.name Git - history.git/commitdiff
[NETROM]: Update wrt. ax25_cb refcounting changes.
authorJeroen Vreeken <pe1rxq@amsat.org>
Thu, 21 Aug 2003 05:09:09 +0000 (22:09 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 21 Aug 2003 05:09:09 +0000 (22:09 -0700)
net/netrom/nr_route.c

index 57cd75e1e3a1e8f68fef5d4cdcc7ad8b78928d6d..d4e16a21f6ff96c026fc362a6b6e6b7f3d2fceb4 100644 (file)
@@ -735,7 +735,7 @@ void nr_link_failed(ax25_cb *ax25, int reason)
        if (nr_neigh == NULL) return;
 
        nr_neigh->ax25 = NULL;
-       // ax25_cb_put(ax25);
+       ax25_cb_put(ax25);
 
        if (++nr_neigh->failed < sysctl_netrom_link_fails_count) {
                nr_neigh_put(nr_neigh);
@@ -829,7 +829,7 @@ int nr_route_frame(struct sk_buff *skb, ax25_cb *ax25)
        ax25s = ax25_send_frame(skb, 256, (ax25_address *)dev->dev_addr, &nr_neigh->callsign, nr_neigh->digipeat, nr_neigh->dev);
        if (nr_neigh->ax25 && ax25s) {
                /* We were already holding this ax25_cb */
-               // ax25_cb_put(ax25s);
+               ax25_cb_put(ax25s);
        }
        nr_neigh->ax25 = ax25s;