Re: simplify vxlan_lookup return value handling

2016-11-03 Thread Mike Belopuhov
On Wed, Oct 26, 2016 at 17:40 +0200, Mike Belopuhov wrote: > On Tue, Oct 25, 2016 at 21:22 +0200, Mike Belopuhov wrote: > > After my previous commit to the vxlan(4) driver it can > > no longer return -1 making this code path obsolete. > > OK to remove it? > > Reyk has pointed out that the error as

Re: simplify vxlan_lookup return value handling

2016-10-26 Thread Mike Belopuhov
On Tue, Oct 25, 2016 at 21:22 +0200, Mike Belopuhov wrote: > After my previous commit to the vxlan(4) driver it can > no longer return -1 making this code path obsolete. > OK to remove it? Reyk has pointed out that the error assignment can be omitted. OK? diff --git sys/netinet/udp_usrreq.c sys/n

simplify vxlan_lookup return value handling

2016-10-25 Thread Mike Belopuhov
After my previous commit to the vxlan(4) driver it can no longer return -1 making this code path obsolete. OK to remove it? diff --git sys/netinet/udp_usrreq.c sys/netinet/udp_usrreq.c index 60a7bdf..fc5e866 100644 --- sys/netinet/udp_usrreq.c +++ sys/netinet/udp_usrreq.c @@ -388,17 +388,12 @@ udp