Revert r353313. It is not needed with r353357 and is actually incorrect.
This commit is contained in:
parent
8078d0b567
commit
c58d10ed59
@ -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