Revert r353313. It is not needed with r353357 and is actually incorrect.
This commit is contained in:
parent
1bb4eefa6c
commit
5df91cbe02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353484
@ -2193,14 +2193,12 @@ inp_join_group(struct inpcb *inp, struct sockopt *sopt)
|
||||
* Begin state merge transaction at IGMP layer.
|
||||
*/
|
||||
if (is_new) {
|
||||
struct epoch_tracker et;
|
||||
|
||||
in_pcbref(inp);
|
||||
INP_WUNLOCK(inp);
|
||||
NET_EPOCH_ENTER(et);
|
||||
|
||||
error = in_joingroup_locked(ifp, &gsa->sin.sin_addr, imf,
|
||||
&imf->imf_inm);
|
||||
NET_EPOCH_EXIT(et);
|
||||
|
||||
INP_WLOCK(inp);
|
||||
if (in_pcbrele_wlocked(inp)) {
|
||||
error = ENXIO;
|
||||
|
Loading…
Reference in New Issue
Block a user