summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/decnet/af_decnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c
index 7d6ff983ba2c..7aab5d088c72 100644
--- a/net/decnet/af_decnet.c
+++ b/net/decnet/af_decnet.c
@@ -192,7 +192,7 @@ static int check_port(__le16 port)
192static unsigned short port_alloc(struct sock *sk) 192static unsigned short port_alloc(struct sock *sk)
193{ 193{
194 struct dn_scp *scp = DN_SK(sk); 194 struct dn_scp *scp = DN_SK(sk);
195static unsigned short port = 0x2000; 195 static unsigned short port = 0x2000;
196 unsigned short i_port = port; 196 unsigned short i_port = port;
197 197
198 while(check_port(cpu_to_le16(++port)) != 0) { 198 while(check_port(cpu_to_le16(++port)) != 0) {