X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fax25%2Fax25_route.c;h=c833ba4c45a585514eee55835c5ce61880594c6d;hb=a2f46ee1ba5ee249ce2ca1ee7a7a0ac46529fb4f;hp=8672cd84fdf905990afb5810a70c505bc94bded8;hpb=4de211f1a279275c6c67d6e9b6b25513e46b0bb9;p=mv-sheeva.git diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c index 8672cd84fdf..c833ba4c45a 100644 --- a/net/ax25/ax25_route.c +++ b/net/ax25/ax25_route.c @@ -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);