diff options
-rw-r--r-- | net/ax25/ax25_route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ax25/ax25_route.c b/net/ax25/ax25_route.c index 09fdd0aac4b9..b40e0bce67ea 100644 --- a/net/ax25/ax25_route.c +++ b/net/ax25/ax25_route.c | |||
@@ -426,9 +426,11 @@ int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr) | |||
426 | } | 426 | } |
427 | 427 | ||
428 | if (ax25->sk != NULL) { | 428 | if (ax25->sk != NULL) { |
429 | local_bh_disable(); | ||
429 | bh_lock_sock(ax25->sk); | 430 | bh_lock_sock(ax25->sk); |
430 | sock_reset_flag(ax25->sk, SOCK_ZAPPED); | 431 | sock_reset_flag(ax25->sk, SOCK_ZAPPED); |
431 | bh_unlock_sock(ax25->sk); | 432 | bh_unlock_sock(ax25->sk); |
433 | local_bh_enable(); | ||
432 | } | 434 | } |
433 | 435 | ||
434 | put: | 436 | put: |