priv->buffer_size = bs1; priv->channel[READ]->max_bufsize = priv->channel[WRITE]->max_bufsize = bs1; 
priv->channel[READ]->max_bufsize = bs1; priv->channel[WRITE]->max_bufsize = bs1; 
buffer_write(struct device *dev, const char *buf, size_t count){	struct ctc_priv *priv;	struct net_device *ndev;	int bs1;	DBF_TEXT(trace, 3, __FUNCTION__);	priv = dev->driver_data;	if (!priv)		return -ENODEV;	ndev = priv->channel[READ]->netdev;	if (!ndev)		return -ENODEV;	sscanf(buf, "%u", &bs1);	if (bs1 > CTC_BUFSIZE_LIMIT)		return -EINVAL;	if ((ndev->flags & IFF_RUNNING) &&	    (bs1 < (ndev->mtu + LL_HEADER_LENGTH + 2)))		return -EINVAL;	if (bs1 < (576 + LL_HEADER_LENGTH + 2))		return -EINVAL;	priv->buffer_size = bs1;	priv->channel[READ]->max_bufsize =	    priv->channel[WRITE]->max_bufsize = bs1;	if (!(ndev->flags & IFF_RUNNING))		ndev->mtu = bs1 - LL_HEADER_LENGTH - 2;	priv->channel[READ]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED;	priv->channel[WRITE]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED;	return count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7394c928c849fe2ea5c20b6d73cbe7f220810d94/ctcmain.c/buggy/drivers/s390/net/ctcmain.c