lkml.org 
[lkml]   [2018]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/6] afs: Differentiate VL servers
Date
David Howells <dhowells@redhat.com> wrote:

> + ret = -EPROTONOSUPPORT;
> + if (protocol != IPPROTO_UDP)
> + goto error;

This needs to be:

ret = -EPROTONOSUPPORT;
if (protocol != IPPROTO_UDP && protocol != 0)
goto error;

so that if the protocol is unspecified by the DNS upcall program, we choose
UDP.

David

\
 
 \ /
  Last update: 2018-09-13 23:51    [W:0.038 / U:24.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site