summaryrefslogtreecommitdiffstats
path: root/net/x25/af_x25.c
AgeCommit message (Expand)Author
2020-01-09net/x25: fix nonblocking connectMartin Schiller
2019-12-09net/x25: add new state X25_STATE_5Martin Schiller
2019-11-06net: use helpers to change sk_ack_backlogEric Dumazet
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 41Thomas Gleixner
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann
2019-03-11net/x25: reset state in x25_connect()Eric Dumazet
2019-03-10net/x25: fix use-after-free in x25_device_event()Eric Dumazet
2019-02-23net/x25: fix a race in x25_bind()Eric Dumazet
2019-02-11net/x25: do not hold the cpu too long in x25_new_lci()Eric Dumazet
2018-11-29net/x25: fix null_x25_address handlingMartin Schiller
2018-11-29net/x25: fix called/calling length calculation in x25_parse_address_blockMartin Schiller
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko
2017-11-21treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE castsKees Cook
2017-10-18net/core: Convert sk_timer users to use timer_setup()Kees Cook
2017-10-18net/core: Collapse redundant sk_timer callback data assignmentsKees Cook
2017-08-03X25: constify null_x25_addressJulia Lawall
2017-05-18net: x25: fix one potential use-after-free issuelinzhang
2017-03-09net: Work around lockdep limitation in sockets that use socketsDavid Howells
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds
2016-09-09net: x25: remove null checks on arrays calling_ae and called_aeColin Ian King
2015-05-11net: Pass kern from net_proto_family.create to sk_allocEric W. Biederman
2015-03-02net: Remove iocb argument from sendmsg and recvmsgYing Xue
2014-11-24new helper: memcpy_from_msg()Al Viro
2014-11-05net: Add and use skb_copy_datagram_msg() helper.David S. Miller
2014-04-11net: Fix use after free by removing length arg from sk_data_ready callbacks.David S. Miller
2014-01-18net: add build-time checks for msg->msg_name sizeSteffen Hurrle
2013-12-09x25: convert printks to pr_<level>wangweidong
2013-11-20net: rework recvmsg handler msg_name and msg_namelen logicHannes Frederic Sowa
2013-07-01x25: Fix broken locking in ioctl error paths.Dave Jones
2013-05-28net: pass info struct via netdevice notifierJiri Pirko
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin
2011-12-16net:x25: use IS_ENABLEDIgor Maravić
2011-11-02x25: Fix NULL dereference in x25_recvmsgDave Jones
2011-10-17x25: Prevent skb overreads when checking call user dataMatthew Daley
2011-10-17x25: Handle undersized/fragmented skbsMatthew Daley
2011-10-17x25: Validate incoming call user data lengthsMatthew Daley
2011-07-01x25: Reduce switch/case indentJoe Perches
2011-03-05x25: remove the BKLArnd Bergmann
2010-11-28X25 remove bkl in call user data length ioctlandrew hendry
2010-11-28X25 remove bkl from causediag ioctlsandrew hendry
2010-11-28X25 remove bkl from calluserdata ioctlsandrew hendry
2010-11-28X25 remove bkl in facility ioctlsandrew hendry
2010-11-28X25 remove bkl in subscription ioctlsandrew hendry
2010-11-19X25: remove bkl in routing ioctlsandrew hendry
2010-11-19X25: remove bkl in inq and outq ioctlsandrew hendry
2010-11-19X25: remove bkl in timestamp ioctlsandrew hendry
2010-11-19X25: pushdown bkl in ioctlsandrew hendry
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
module.exports = {
	root: true,
	env: {
		browser: true,
		es6: true,
		node: true,
		jest: true
	},
	globals: {
		oc_config: true,
		appVersion: true,
		n: true,
		t: true,
		OC: true,
		OCA: true,
		Vue: true,
		VueRouter: true
	},
	parserOptions: {
		parser: 'babel-eslint',
		ecmaVersion: 6
	},
	extends: [
		'eslint:recommended',
		'plugin:import/errors',
		'plugin:import/warnings',
		'plugin:node/recommended',
		'plugin:vue/essential',
		'plugin:vue/recommended',
		'standard'
	],
	settings: {
		'import/resolver': {
			webpack: {
				config: 'webpack.common.js'
			},
			node: {
				paths: ['src'],
				extensions: ['.js', '.vue']
			}
		}
	},
	plugins: ['vue', 'node'],
	rules: {
		// space before function ()
		'space-before-function-paren': ['error', 'never'],
		// curly braces always space
		'object-curly-spacing': ['error', 'always'],
		// stay consistent with array brackets
		'array-bracket-newline': ['error', 'consistent'],
		// 1tbs brace style
		'brace-style': 'error',
		// tabs only
		indent: ['error', 'tab'],
		'no-tabs': 0,
		'vue/html-indent': ['error', 'tab'],
		// only debug console
		'no-console': ['error', { allow: ['error', 'warn', 'info', 'debug'] }],
		// classes blocks
		'padded-blocks': ['error', { classes: 'always' }],
		// always have the operator in front
		'operator-linebreak': ['error', 'before'],
		// ternary on multiline
		'multiline-ternary': ['error', 'always-multiline'],
		// force proper JSDocs
		'valid-jsdoc': [2, {
			'prefer': {
				'return': 'returns'
			},
			'requireReturn': false,
			'requireReturnDescription': false
		}],
		// es6 import/export and require
		'node/no-unpublished-require': ['off'],
		'node/no-unsupported-features/es-syntax': ['off'],
		// kebab case components for vuejs
		'vue/component-name-in-template-casing': ['error', 'kebab-case'],
		// space before self-closing elements
		'vue/html-closing-bracket-spacing': 'error',
		// no ending html tag on a new line
		'vue/html-closing-bracket-newline': ['error', { multiline: 'never' }],
		// code spacing with attributes
		'vue/max-attributes-per-line': [
			'error',
			{
				singleline: 3,
				multiline: {
					max: 3,
					allowFirstLine: true
				}
			}
		]
	}
}