Staging
v0.8.1
https://github.com/torvalds/linux
Revision 4d942d8b39bf7d43ce93d85964aeb63aeace0593 authored by Patrick McHardy on 23 May 2006, 22:07:46 UTC, committed by David S. Miller on 23 May 2006, 22:15:10 UTC
When parsing unknown sequence extensions the "son"-pointer points behind
the last known extension for this type, don't try to interpret it.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 7185989
Raw File
Tip revision: 4d942d8b39bf7d43ce93d85964aeb63aeace0593 authored by Patrick McHardy on 23 May 2006, 22:07:46 UTC
[NETFILTER]: H.323 helper: fix sequence extension parsing
Tip revision: 4d942d8
sysctl_net_802.c
/* -*- linux-c -*-
 *		sysctl_net_802.c: sysctl interface to net 802 subsystem.
 *
 *		Begun April 1, 1996, Mike Shaver.
 *		Added /proc/sys/net/802 directory entry (empty =) ). [MS]
 *
 *		This program is free software; you can redistribute it and/or
 *		modify it under the terms of the GNU General Public License
 *		as published by the Free Software Foundation; either version
 *		2 of the License, or (at your option) any later version.
 */

#include <linux/config.h>
#include <linux/mm.h>
#include <linux/if_tr.h>
#include <linux/sysctl.h>

#ifdef CONFIG_TR
extern int sysctl_tr_rif_timeout;
#endif

struct ctl_table tr_table[] = {
#ifdef CONFIG_TR
	{
		.ctl_name	= NET_TR_RIF_TIMEOUT,
		.procname	= "rif_timeout",
		.data		= &sysctl_tr_rif_timeout,
		.maxlen		= sizeof(int),
		.mode		= 0644,
		.proc_handler	= &proc_dointvec
	},
#endif /* CONFIG_TR */
	{ 0 },
};
back to top