mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Add remove promiscuous msg patch
This commit is contained in:
		
							parent
							
								
									432fe3e75a
								
							
						
					
					
						commit
						6d00706c21
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		|  | @ -0,0 +1,14 @@ | |||
| --- a/net/core/dev.c	2018-08-10 10:31:41.199494561 +0200
 | ||||
| +++ b/net/core/dev.c	2018-08-10 10:32:03.635272509 +0200
 | ||||
| @@ -6613,9 +6613,11 @@
 | ||||
|  		} | ||||
|  	} | ||||
|  	if (dev->flags != old_flags) { | ||||
| +		/*
 | ||||
|  		pr_info("device %s %s promiscuous mode\n", | ||||
|  			dev->name, | ||||
|  			dev->flags & IFF_PROMISC ? "entered" : "left"); | ||||
| +		*/
 | ||||
|  		if (audit_enabled) { | ||||
|  			current_uid_gid(&uid, &gid); | ||||
|  			audit_log(current->audit_context, GFP_ATOMIC, | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue