]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/ax25/ax25_route.c
tipc: fix lockdep warning on address assignment
[mv-sheeva.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);