vserver 2.0 rc7
[linux-2.6.git] / net / ax25 / ax25_route.c
index 706e729..44b99b1 100644 (file)
@@ -455,7 +455,7 @@ int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr)
 
        if (ax25->sk != NULL) {
                bh_lock_sock(ax25->sk);
-               ax25->sk->sk_zapped = 0;
+               sock_reset_flag(ax25->sk, SOCK_ZAPPED);
                bh_unlock_sock(ax25->sk);
        }