Commit 872d1c7a authored by Alan Cox's avatar Alan Cox Committed by David S. Miller

[NET]: illegal --> invalid

parent 3a2b9514
...@@ -1023,7 +1023,7 @@ void inet_register_protosw(struct inet_protosw *p) ...@@ -1023,7 +1023,7 @@ void inet_register_protosw(struct inet_protosw *p)
out_illegal: out_illegal:
printk(KERN_ERR printk(KERN_ERR
"Ignoring attempt to register illegal socket type %d.\n", "Ignoring attempt to register invalid socket type %d.\n",
p->type); p->type);
goto out; goto out;
} }
......
...@@ -433,7 +433,7 @@ static int check(const char *tablename, ...@@ -433,7 +433,7 @@ static int check(const char *tablename,
/* Must specify that it's a TCP packet */ /* Must specify that it's a TCP packet */
if (e->ip.proto != IPPROTO_TCP if (e->ip.proto != IPPROTO_TCP
|| (e->ip.invflags & IPT_INV_PROTO)) { || (e->ip.invflags & IPT_INV_PROTO)) {
DEBUGP("REJECT: TCP_RESET illegal for non-tcp\n"); DEBUGP("REJECT: TCP_RESET invalid for non-tcp\n");
return 0; return 0;
} }
} }
......
...@@ -624,7 +624,7 @@ inet6_register_protosw(struct inet_protosw *p) ...@@ -624,7 +624,7 @@ inet6_register_protosw(struct inet_protosw *p)
out_illegal: out_illegal:
printk(KERN_ERR printk(KERN_ERR
"Ignoring attempt to register illegal socket type %d.\n", "Ignoring attempt to register invalid socket type %d.\n",
p->type); p->type);
goto out; goto out;
} }
......
...@@ -1161,7 +1161,7 @@ static void ndisc_router_discovery(struct sk_buff *skb) ...@@ -1161,7 +1161,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
if (ndopts.nd_opts_tgt_lladdr || ndopts.nd_opts_rh) { if (ndopts.nd_opts_tgt_lladdr || ndopts.nd_opts_rh) {
if (net_ratelimit()) if (net_ratelimit())
ND_PRINTK0(KERN_WARNING ND_PRINTK0(KERN_WARNING
"ICMP6 RA: got illegal option with RA"); "ICMP6 RA: got invalid option with RA");
} }
out: out:
if (rt) if (rt)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment