]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ax25/ax25_route.c
CRED: Wrap task credential accesses in the AX25 protocol
[linux-2.6-omap-h63xx.git] / net / ax25 / ax25_route.c
index 8672cd84fdf905990afb5810a70c505bc94bded8..c833ba4c45a585514eee55835c5ce61880594c6d 100644 (file)
@@ -421,7 +421,7 @@ int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr)
                goto put;
        }
 
-       user = ax25_findbyuid(current->euid);
+       user = ax25_findbyuid(current_euid());
        if (user) {
                ax25->source_addr = user->call;
                ax25_uid_put(user);