MFC r198076:
Explicitly compare to a return code. Discussed with: philip (after we both misread the logic there the 1st time)
This commit is contained in:
parent
3b558c96ce
commit
4fe9cf96e9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=200151
@ -870,7 +870,7 @@ icmp6_input(struct mbuf **mp, int *offp, int proto)
|
||||
break;
|
||||
}
|
||||
deliver:
|
||||
if (icmp6_notify_error(&m, off, icmp6len, code)) {
|
||||
if (icmp6_notify_error(&m, off, icmp6len, code) != 0) {
|
||||
/* In this case, m should've been freed. */
|
||||
return (IPPROTO_DONE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user