.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | | - * This program is free software; you can redistribute it and/or modify |
---|
3 | | - * it under the terms of the GNU General Public License as published by |
---|
4 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
5 | | - * (at your option) any later version. |
---|
6 | 3 | * |
---|
7 | 4 | * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) |
---|
8 | 5 | */ |
---|
.. | .. |
---|
99 | 96 | } |
---|
100 | 97 | |
---|
101 | 98 | if (frametype == ROSE_CALL_REQUEST) { |
---|
102 | | - if (!rose_loopback_neigh->dev) { |
---|
| 99 | + if (!rose_loopback_neigh->dev && |
---|
| 100 | + !rose_loopback_neigh->loopback) { |
---|
103 | 101 | kfree_skb(skb); |
---|
104 | 102 | continue; |
---|
105 | 103 | } |
---|