Reverse a patch which has no effect on -CURRENT and should probably be
applied directly to -STABLE. Noticed by: iedowse Pointy hat to: bms
This commit is contained in:
parent
bf7f20c2b6
commit
49b19bfc47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130583
@ -837,7 +837,7 @@ udp_output(inp, m, addr, control, td)
|
||||
M_PREPEND(m, sizeof(struct udpiphdr), M_DONTWAIT);
|
||||
if (m == 0) {
|
||||
error = ENOBUFS;
|
||||
goto disconnect;
|
||||
goto release;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -879,12 +879,6 @@ udp_output(inp, m, addr, control, td)
|
||||
inp->inp_moptions, inp);
|
||||
return (error);
|
||||
|
||||
disconnect:
|
||||
if (addr) {
|
||||
in_pcbdisconnect(inp);
|
||||
inp->inp_laddr = laddr;
|
||||
}
|
||||
|
||||
release:
|
||||
m_freem(m);
|
||||
return (error);
|
||||
|
Loading…
Reference in New Issue
Block a user